This project is archived and is in readonly mode.
Fix blank conditions with find on AssociationCollection
Reported by Jonathan Viney | May 4th, 2008 @ 04:06 AM
Passing blank conditions straight to ActiveRecord::Base.find works as expected, no conditions are added to the sql. The same is not true when calling find on an AssociationCollection
This patch makes AssociationCollection#find behave like ActiveRecord::Base.find with respect to blank :conditions options.
Comments and changes to this ticket
-
Repository May 11th, 2008 @ 09:04 PM
- State changed from new to resolved
(from [0cbdd96c349c56c47299ca3c2bfa5d8c4f5e5a11]) Fix blank conditions on AssociationCollection#find. [#104 state:resolved]
Signed-off-by: Pratik Naik
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>