Evan
Developer · Not a member
Evan's latest activity
Thursday, February 11 2010
2931
find with :include ignores default_scope
was updated
in Ruby on Rails
-
Evan commented at 10:47 PMI can confirm in Rails 2.3.5
And agree the behavior is unexpected.
class Book
default_scope :conditions => "visible = true" endclass Author
...
has_many :books end