On 3/27/06, David Heinemeier Hansson <[EMAIL PROTECTED]> wrote: > > So my question is... were my assumptions wrong (ie. my reasonings for > > implementing :include) and will :include just not be supported and > > should I just use the :select, :join combonation from this point? > > I understand the mechanics of the patch, but not the benefit. What's > the use case where you want to scope-in :includes?
Another case is where you're granting or revoking access to an item on a per user basis. You could implement the security with item has_many :authorisations. You can then use with_scope and :include to take care of scoping the finders. -- Cheers Koz _______________________________________________ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core