Forum: Ruby on Rails Wierd to_a issue...

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.
Ari (Guest)
on 2009-02-27 18:24
(Received via mailing list)
When I go to save a model, I get tons of these:

/usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
associations/association_proxy.rb:214: warning: default `to_a' will be
obsolete

It looks like the warning is coming from method_missing!

Even stranger: the model saves correctly in the development
environment, but under certain conditions it does not save in the
production environment -- even if operating with an identical
database.

Any ideas of what could be going on here?  I can't find anything about
this and am getting frustrated.  Any tips on how to trace where the
warnings are coming from would be helpful.
This topic is locked and can not be replied to.