Hello,

eversince I switched to Rails 3 I keep getting following error:
RuntimeError: can't modify frozen hash

This is the affected line:
self.target.save

target is a polymorphic relation and never caused any problems before.

I added an output for the frozen hash to get the ID of it and fired up
the console to get some more info out of it:
ruby-1.9.2-p0 > b = Building.find(1008631573)

And nothing happens. It stays there until I abort it.

Does anyone know how I could find the source of this problem?

Thanks
-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to