This project is archived and is in readonly mode.
ActiveRecord 2.1 does not update db if text attrib modified with []=
-
Pratik
- State changed from new to invalid
- Tag cleared.
If your app rely heavily on this, it might be advisable to disable partial updates. Otherwise, you'll need to do the following :
o.mytext_attrib_will_change! o.mytext_attrib[1] = 'X' -
Steve Rawlinson
Hmm. I think this is a bug. Partial updates is a great feature but if it
doesn't notice when an attrib is changed by some (perfectly legitimate)
means other than direct assignment should it be on by default?
I've turned it off, thanks for the tip.