Does the patch check to see if the 'p.user' is modified or only if it's new? I only see checking the 'new_record' attribute.

Manfred Stienstra wrote:

On 27-jul-2006, at 16:20, Jonathan Viney wrote:

Forgot to attach the patch! Here it is ...

There's a good reason for this:

p = Person.find :first
p.user.name = 'New Name'
p.save

_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core


--
Michael Genereux
SimianCodex - Web Application Development
949-874-6268


_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to