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

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
until 3.2.6.

With 3.2.7, I get this error:

private method `message' called for

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
it the name of the instance of course, e.g o
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.