Displaying 2 results from an estimated 2 matches for "desc_uf".
Did you mean:
desc_hw
2007 Feb 05
2
rebuild_index is returning {}
...>> Event.rebuild_index
=> false
Now I get this.
>> Event.rebuild_index
=> {}
Following changes took place.
1) I moved my app from FCGI to mongrel.
2) I moved my app to capistrano.
Before moving to capistrano the code was
acts_as_ferret :fields => [ "name", "desc_uf" ]
Now the code is
acts_as_ferret :fields => [ "name", "desc_uf" ],:index_dir =>
"/home/dorelal/apps/eii_#{RAILS_ENV}/shared/ferret"
My question is this:
Now that I do Event.rebuild_index I get {} in return. Is that okay? Or
does that mean something is w...
2006 Apr 23
0
Pagination issue because of join
My current code is like this:
query = "desc_uf like ''%" + session[:search_term] + "%''"
@event_pages, @events = paginate :events, :per_page => 10
,:conditions => query ,:order => "start_date DESC"
This query is made against table ''EVENTS'' and everything works fine.
N...