Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Fix blank conditions with find on AssociationCollection

#104

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.

Reported by Jonathan Viney · May 4th, 2008 @ 04:06 AM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Jonathan Viney
  2. Repository
    Repository
    • State changed from new to resolved

    (from [0cbdd96c349c56c47299ca3c2bfa5d8c4f5e5a11]) Fix blank conditions on AssociationCollection#find. [#104 state:resolved]

    Signed-off-by: Pratik Naik

    http://github.com/rails/rails/co...

    May 11th, 2008 @ 09:04 PM