column names

There's a few that might do what you want. Have a look at:
http://api.rubyonrails.org/classes/ActiveRecord/Base.html

Look particularly at:
  Model.content_columns
  Model.columns
  Model.column_names
  Model.columns_hash