This project is archived and is in readonly mode.
Changeset [4168f876238982d0d584006f50188071928a8b7f] by Luciano G Panaro
September 28th, 2009 @ 02:50 AM
Make has_one with :conditions hash scope build or creation of the associated object with those conditions
Signed-off-by: Michael Koziarski michael@koziarski.com
[#3088 state:committed]
http://github.com/rails/rails/commit/4168f876238982d0d584006f501880...
Committed by Luciano G Panaro
- M activerecord/lib/active_record/associations.rb
- M activerecord/lib/active_record/associations/has_one_association.rb
- M activerecord/test/cases/associations/has_one_associations_test.rb
- M activerecord/test/cases/reflection_test.rb
- M activerecord/test/models/company.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>