I've run into a similar issue where a variable contained nil when it 
should always be an array (the controller ensures this, the view is 
where the error was raised.)

Anyways, setting "config.eager_load_paths = false" appears to fix the 
issue which only occurs when "config.cache_classes = true". It seems 
eager loading has to do with using :include in a find query, taking out 
all such includes fixed the problem for me.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to