BETYdb 5.0.1
Fix for API fuzzy matching
Summary of Changes
Changes to the Rails API introduced in Rails 5.1 caused problems with API version 1 fuzzy matching queries. This fixes that problem.
Steps Needed for Upgrade
If you upgraded to release BETYdb 5.0
after 12:01 AM UTC on August 8 (7:01 PM CDT on August 7) with a git pull
, you probably already got this fix. (Run git log
to be sure.)
If you have not yet upgraded to Rails 5, simply follow the instructions for release BETYdb 5.0
.
If you upgraded to release BETYdb 5.0
before 12:01 AM UTC on August 8, proceed as follows:
- Log in to the server.
- cd to the Rails root directory.
- Run
git pull
to get the latest version of the master branch. - Restart the Rails server with
touch tmp/restart.txt
- Check that an API query that uses fuzzy matching (e.g.
curl "<your BETYdb home page URL>/api/v1/search?treatment=~genotype&key=<your API key>
) works.