Searchlight is a Ruby gem for doing searches with ORMs, and this is the code behind its demo app.
Bundle install, rake db:seed
to load example data, and rails s
to start.
- It's kind of crazy to use both
sequel_rails
andactiverecord
in the same app, but I'm doing it here to show that Searchlight works with both. This meansdb:migrate
doesn't work unless you comment outsequel_rails
in the Gemfile and bundle. Extra fun if deploying and migrating.