This project is archived and is in readonly mode.
Changeset [bdfddb09d7a87498a9733617d186378ab829dac5] by toby cabot
October 21st, 2010 @ 01:23 AM
bug 1108: yield to block provided to find_or_create_by_x
Starting in 2.3.8 we stopped yielding to blocks passed in to
find_or_create_by_x methods. This patch restores that behavior
and
adds a case to test it.
http://github.com/rails/rails/commit/bdfddb09d7a87498a9733617d18637...
Committed by toby cabot
- M activerecord/lib/active_record/associations/association_collection.rb
- M activerecord/test/cases/associations/has_many_associations_test.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>