Rails 2.3.2
This seems related specifically to the suffices _type and _value.
Attributes ending in either of these strings are not processed by the
attribute= method. if #write_attribute("something_type", "a value") is
called instead, then the somthing-type= method is again bypassed and the
attribute is set to the literal value provided instead.
I have raised a ticket for this:
http://rails.lighthouseapp.com/projects/8994/tickets/2314-v-232-appropriates-attributed-ending-in-_type-and-_value
--
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
-~----------~----~----~----~------~----~------~--~---