This project is archived and is in readonly mode.
Changeset [758f01d49ea810ec3467a723d8396910a0a35c6a] 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...
Committed by Neeraj Singh
- 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
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>