Ah, I see.

Too much work,  doesn't feel like it's my job to tell what's changed
or will change.

I'll just switch to +=





Frederick Cheung wrote:
> On Mar 31, 4:33 pm, Meech <meech...@gmail.com> wrote:
>
> > 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.
>
> See http://ar.rubyonrails.org/classes/ActiveRecord/Dirty.html - if you
> change things inplace you need to use the foo_will_change! methods
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to