Ruby Bharathrentals
2007-Apr-17 01:52 UTC
[Ferret-talk] undefined method `each'' for nil:NilClass with Ferret search
Hi All: For certain key terms I always get this error; I had to rebuild the indexes then it works for a while then again it is gone. here is the message ActionView::TemplateError (undefined method `each'' for nil:NilClass) on line #4 /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:316:in `compile_and_render_template'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:292:in `render_template'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:251:in `render_file'' @ thanks -- Posted via http://www.ruby-forum.com/.
David Balmain
2007-Apr-17 04:32 UTC
[Ferret-talk] undefined method `each'' for nil:NilClass with Ferret search
On 4/17/07, Ruby Bharathrentals <ruby at bharathrentals.com> wrote:> Hi All: > For certain key terms I always get this error; I had to rebuild the > indexes then it works for a while then again it is gone. > > here is the message > ActionView::TemplateError (undefined method `each'' for nil:NilClass) on > line #4 > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:316:in > `compile_and_render_template'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:292:in > `render_template'' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:251:in > `render_file'' > @ > > thanksI can''t see anything Ferret specific in your error message. This looks like a Rails problem. You might be better off asking on the Rails mailing list. -- Dave Balmain http://www.davebalmain.com/