This project is archived and is in readonly mode.
Changeset [5b86c3e5bb2bb54003d8f211b46a7b992355dbf5] by Xavier Noria
Revision 5b86c3e5bb2bb54003d8f211b46a7b992355dbf5,
committed 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...
5 changed files
-
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