What is the way in rails to structure sql query to only select certain columns from the database, I have some large data fields which I want to avoid loading from continuous
Try this:
@itemlist = Item.find(:all, :select => "name, address", :conditions => { .... } )