Hi All:

I'm trying to traverse the active record attributes hash in the order it
was created.
------------------
a = Table.find_by_sql("select * from sometable")

a.each { |row| puts row.to_yaml
# prints the the attributes in the order coming from the select
statement
# which is exactly how I would like to process the columns
puts row.attributes.to_yaml
# shows the attributes in sorted order...
}

------------------
Is that a problem with activerecord?

how I could solve the issue?
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to