This project is archived and is in readonly mode.
Changeset [758f01d49ea810ec3467a723d8396910a0a35c6a] by Neeraj Singh
Revision 758f01d49ea810ec3467a723d8396910a0a35c6a,
committed by Neeraj Singh
· August 19th, 2010 @ 07:09 PM
While creating a new record using has_many create method default scope of child should be respected.
author.posts.create should take into account default_scope
defined on post.
[#3939: state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/758f01d49ea810ec3467a723d83969...
6 changed files
-
A
activerecord/test/models/bulb.rb -
M
activerecord/lib/active_record/associations/association_collection.rb -
M
activerecord/lib/active_record/relation.rb -
M
activerecord/test/cases/associations/has_many_associations_test.rb -
M
activerecord/test/models/car.rb -
M
activerecord/test/schema/schema.rb