Searcher plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install git://github.com/jabberwock/Searcher.git
Example
=======
MyModel.search('some text')
You may also add normal ActiveRecord.find options, e.g.:
MyModel.search('some text', :limit => 20)
You may specify which columns get searched in your ActiveRecord model by specifying +seacher_column+ or +seacher_columns+, e.g.:
class Foo < ActiveRecord::Base searcher_column :col1, :col2 end
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 9 months ago


