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 [304d38c0536dc32a8a1595ba34370ebf69a0d50d] by Santiago Pastorino

Revision 304d38c0536dc32a8a1595ba34370ebf69a0d50d, committed by Santiago Pastorino · December 28th, 2010 @ 12:11 PM

Allow primary_key to be an attribute when the model is a new record
https://github.com/rails/rails/commit/304d38c0536dc32a8a1595ba34370...

3 changed files

  • M activerecord/lib/active_record/persistence.rb
  • M activerecord/lib/active_record/transactions.rb
  • M activerecord/test/cases/attribute_methods_test.rb