Skip to content

BETYdb 5.0.1

Compare
Choose a tag to compare
@gsrohde gsrohde released this 08 Aug 17:15
· 258 commits to master since this release

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:

  1. Log in to the server.
  2. cd to the Rails root directory.
  3. Run git pull to get the latest version of the master branch.
  4. Restart the Rails server with
    touch tmp/restart.txt
    
  5. 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.