Hi there,

I noticed that :select has been added as a supported keyword for with_scope.

I created a patch at http://dev.rubyonrails.org/ticket/4132 for adding
:include support to with_scope because of issues I was having with
using just :joins and the lack of :select support.

The reason I created this patch is explained in the ticket and that I
figured the :include route was a bit cleaner from a users perspective
than a combo of :select and :joins.

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?

Thanks for any insight,
Andrew
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to