This gem provides the Ferret full text search, that was extracted from Alchemy 3.0
Add this lines to your application's Gemfile:
gem 'alchemy-ferret'
gem 'acts_as_ferret', github: 'tvdeyen/acts_as_ferret', branch: 'rails-4'
*) Note about acts_as_ferret version
ActsAsFerret is not yet Rails 4 compatible, so you need to use a Rails 4 compatible version.
And then execute:
$ bundle
You don't have to do anything.
For best performance and stability install a crontab that reindexes ferrets search index periodly.
cd ~/html/alchemy/current && RAILS_ENV=production rake ferret:rebuild_index
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request