From: Adam Boyle Date: 2007-11-01T11:22:50+09:00 Subject: Re: Extending ActiveRecord for csv export... a better way? yermej@gmail.com wrote: > If you're always doing (essentially) "select *", won't Ruby's dbi > work? I don't know if it's guaranteed, but the columns always seem to > be returned in the order they are defined in the database. Hmm... unfortunately I'm using JRuby and ActiveRecord-JDBC because my database is only accessible via JDBC (I'm sure there are other ways to access a Cach辿 database, but not many), so I can't use DBI, unless someone has developed access to Cach辿 with DBI! I'll look into it anyway! -- Posted via http://www.ruby-forum.com/.