This project is archived and is in readonly mode.

Changeset [5b86c3e5bb2bb54003d8f211b46a7b992355dbf5] by Xavier Noria

October 22nd, 2010 @ 09:28 AM

has_one maintains the association with separate after_create/after_update

This way parent models can get their own after_create and
after_update callbacks fired after has_one has done its job.
http://github.com/rails/rails/commit/5b86c3e5bb2bb54003d8f211b46a7b...

Committed by Xavier Noria

  • A activerecord/test/models/eye.rb
  • M activerecord/CHANGELOG
  • M activerecord/lib/active_record/autosave_association.rb
  • M activerecord/test/cases/autosave_association_test.rb
  • M activerecord/test/schema/schema.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>