4.8 Hash Conditions for has_many relationship

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

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?

I can't actually see this either, Mike any idea what commit that's referring too? Or fred maybe?

Tracking the history of that paragraph back, it points to

http://github.com/rails/rails/commit/b17b9371c6a26484eb1984d45acffcdcd91b1ae1

which in turn claims to come from

http://rails.lighthouseapp.com/projects/8994/tickets/1461

which is where the description originates. Looks to me like probably the release notes should be clarified.

Mike