This project is archived and is in readonly mode.

Changeset [01629d180468049d17a8be6900e27a4f0d2b18c4] by Neeraj Singh

July 8th, 2010 @ 09:43 PM

This patch changes update_attribute implementatino so:

  • it will only save the attribute it has been asked to save and not all dirty attributes

  • it does not invoke callbacks

  • it does change updated_at/on

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/01629d180468049d17a8be6900e27a...

Committed by Neeraj Singh

  • M activerecord/lib/active_record/persistence.rb
  • M activerecord/lib/active_record/timestamp.rb
  • M activerecord/test/cases/base_test.rb
  • M activerecord/test/cases/dirty_test.rb
  • M activerecord/test/cases/nested_attributes_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>