On 2006-07-27, at 11:56 , Caio Chassot wrote:
On 2006-07-27, at 11:52 , Michael Genereux wrote:
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.
Its does, here's the full conditional:
if !association.nil? && (new_record? || association.new_record? ||
association["#{reflection.primary_key_name}"] != id)
Oops. Read: It doesn't.
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core