Forum: Ruby on Rails Rails 3.2.7, ActiveRecord with a field called "message" fails

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.
8f1117e1da7a81344394adfe96b1afb1?d=identicon&s=25 Obelix (Guest)
on 2012-07-31 04:47
(Received via mailing list)
Upgraded to Rails 3.2.7.

I have an ActiveRecord with an attribute called "message".  This works
fine
until 3.2.6.

With 3.2.7, I get this error:

private method `message' called for
#<OutgoingMessageRecipient:0x105cf1da8>

I see a private method called 'message' added.

Short of renaming the field, any other suggestions?
684b64cf1db4f88d642531024278ec40?d=identicon&s=25 Radhames Brito (rbritom)
on 2012-07-31 08:02
(Received via mailing list)
try referring to the attribute like this instance[:message] where
instance
it the name of the instance of course, e.g o
utgoing_message_recipient[:message]
This topic is locked and can not be replied to.