PDA

View Full Version : SHOW FIELDS in find query


rubyonrails-talk
August 28th, 2006, 01:25 AM
When I use find(:all) ActiveRecord method, first it asks for attributes
names, using MySql query SHOW FIELDS
Is there a way to avoid generating that query, and write the names of
the attributes manually somewhere?

More... (http://groups.google.com/group/rubyonrails-talk/msg/bb5a4b7dacf22975)