On further testing... x = MyModel.find(1) x.log << "append some text"
>> x.changed => [] >> x.log => "old valueappend some text" The value is clearly changed in the resident copy of the model, yet it doesn't recognize it as changed. Meech wrote: > I have a text field in the database, lets call it log. If I do > something like this: > > x = MyModel.find(1) > x.log << "append some text" > x.save > > Nothing is saved. > > If I do something like this: > > x = MyModel.find(1) > x.log += "append some text" > x.save > > It works. Seems like a bug. --~--~---------~--~----~------------~-------~--~----~ 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-talk@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 -~----------~----~----~----~------~----~------~--~---