Getting table field names from an object

If I had the following

@recipes = recipe.find_all
Is there a way to find all the field names returned by the query and the
data in them.
Thanks
Martin

Recipe.column_names returns an array of all of the columns.

-Bill

Martin E. wrote:

If I had the following

@recipes = recipe.find_all
Is there a way to find all the field names returned by the query and the
data in them.
Thanks
Martin


Sincerely,

William P.

What if @recipes was gotten with a mySQL JOIN statement?