I’m trying to find all the unique bill_number, status records in Bills
table. I can do it with a find_by_sql statement like this:
@records = Bill.find_by_sql( “select distinct bill_number, status
group by bill_number,
How would I rewrite it using ‘find :all …’ ??
“Work, work, work…there is no satisfactory alternative.”
— E.Taft Benson