I am working on a rails 3 app, I am trying to use the meta_search
gem.
After adding the gem to the GemFile
and running bundle install
, it seems that there is no search
method.
undefined method `search' for #<Class:0x00000104134458>
I am using something similar to the examples:
@search = Bill.search(params[:search])
@bills = @search.all
Anyone experienced this before?
Well it seems that the problem was between the chair and the keyboard.
I have forgotten to restart the server. After doing so it worked flawlessly.