Forum: Ferret undefined method `each' for nil:NilClass with Ferret search

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6d6ee23eae2f986b4ed2024d666e18d1?d=identicon&s=25 Ruby Bharathrentals (bharathrentals)
on 2007-04-17 03:52
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
B5e329ffa0cc78efbfc7ae2d084c149f?d=identicon&s=25 David Balmain (Guest)
on 2007-04-17 06:41
(Received via mailing list)
On 4/17/07, Ruby Bharathrentals <ruby@bharathrentals.com> wrote:
> `render_template'
>     /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:251:in
> `render_file'
> @
>
> thanks

I 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.
This topic is locked and can not be replied to.