Hi, I’ve a model with the following method:
so, the value returned is an array of hashes… the problen is that the
“select name, id from table”
select id,name from table"
returns the columns in the same order (name, id).
And in my view, I need to keep the order of the SQL command.
(Don’t ask why I’m doing raw SQL… it’s a long story).