Displaying 1 result from an estimated 1 matches for "funding_entities".
2008 Mar 28
6
Eager Loading + Confusion
....
Some of the params[:sort_by] I''ve passed are:
funding_entity.name => The multi-part identifier "funding_entity.name"
could not be bound.
funding_entity => Invalid column name ''funding_entity''.
Okay, its checking the database and not the model.
Well, funding_entities is a table... maybe that will work?
funding_entities.name => Incorrect syntax near ''\.''.: SELECT * FROM
(SELECT TOP 5 * FROM (SELECT TOP 5 [grants].[id] AS t0_r0, [grants].
[created_by] AS t0_r1, ... (40 more of these) ... ORDER BY
funding_entities.name asc) AS tmp1 ORDER BY...