Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [1d45ea081493cd4eca95cd75cce7be7b8d9cb07c] by Neeraj Singh

Revision 1d45ea081493cd4eca95cd75cce7be7b8d9cb07c, committed by Neeraj Singh · July 13th, 2010 @ 06:03 AM

with this fix touch method - does not call validations - doest not call callbacks - updates updated_at/on along with attribute if attribute is provided - marks udpated_at/on and attribute as NOT changed

[#2520 state:resolved]

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

3 changed files

  • M activerecord/lib/active_record/persistence.rb
  • M activerecord/lib/active_record/timestamp.rb
  • M activerecord/test/cases/timestamp_test.rb