search for: method_missing_without_aggregates

Displaying 1 result from an estimated 1 matches for "method_missing_without_aggregates".

2005 Oct 17
8
Using active record for SELECT MAX(column) FROM ...
Hi, Is there an easy way of querying an active record for a maximum column value? I need to do queries like: SELECT MAX(salary) FROM employees TIA, Jeroen