How to get an array with column names of a table

Viewed 31457

I need an array with the column names of a table

Any ideas how I can do this with rails 3.0.0rc?

3 Answers
Related