Works on console but doesn't in the App

3 views
Skip to first unread message

adedip

unread,
Dec 22, 2009, 6:52:31 AM12/22/09
to Searchlogic
I've tried both gem and plugin.

It works fine with the console, but when I use it in the app I got
this error:
--
NoMethodError in ArticlesController#index

undefined method `title_like_all' for #<Class:0xb768c6dc>

/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/
base.rb:1964:in `method_missing'
/home/adedip/ror/searchlog/app/controllers/articles_controller.rb:5:in
`index'
--

I've added to line of code in the enviroment.rb is there anything else
I should do!?
thx

Matthew Williams

unread,
Jan 26, 2010, 3:02:29 PM1/26/10
to Searchlogic
Can you paste the code from the index action of your Articles
controller? That might provide some insight. You may be setting up
the search object incorrectly.

Take a look here as well: http://railscasts.com/episodes/176-searchlogic

Reply all
Reply to author
Forward
0 new messages