Displaying 1 result from an estimated 1 matches for "account_entities".
2008 Mar 28
6
Eager Loading + Confusion
So I''m trying to do a find with an order by specific column values
thing, but some of the columns are attributes through associations.
So I did some eager loading with the :include option to try and access
the attributes of the object I''m doing the find on. Stuff has been
blowing up on me so far.
Here''s the code in the controller right now:
sort_by = params[:sort_by]