Never mind. Figured it out. Just need to do a find_by_sql before and take
what I want before the save call.
Agile Development with Rails Book FTW
Jin
On 11/1/05, Jin Lee <jinslee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> Hey all,
>
> this is kind of a weird question, but is there any way to tell
> ActiveRecord to not update a field that hasn''t been changed? When
I see my
> executed UPDATE sql, I see it trying to update every single field,
> regardless of whether its been changed or not. Is there any way to have
> ActiveRecord update ONLY the changed fields?
>
> Thanks guys,
>
> Jin
>
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails