I have a model that I'm trying to retrieve an array of data from, and I don't need the data to be instantiated into Ruby objects. In fact, that just introduces an extra step into my code to step through the objects and generate a new array with just the data I need.
Example:
class Book
#has attribute in database title
end
I would like to generate an array which contains all the titles of all the Books in the database. What's the best way to do it?