The 2.3 release notes have this:
> 4.8 Hash Conditions for has_many relationships
> You can once again use a hash in conditions for a has_many relationship:
>
> has_many :orders, :conditions => {:status => 'confirmed'}
> That worked in Rails 2.1, fails in Rails 2.2, and will now work again in
> Rails 2.3 (if you’re dealing with this issue in Rails 2.2, you can use a
> string rather than a hash to specify conditions).
>
> Lead Contributor: Frederick Cheung
I can't see the commit for this. There was an issue that broke them
(with eager loading) in 2.1, but it got fixed in 2.2, not 2.3; is this
a second, separate issue?
Cheers,
Will
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---