Model attributes after migration

Hey everyone. I 'm new in the ruby/rails, so plz forgive my ignorance.

Is there any way to see what attributes are attached to a specific model
after a couple of migrations?

e.g.

a) I create a model named “Product” using scaffold with attributes
“name”, “price”
b) I decide I want to add some more columns in the corresponding table,
so I create an appropriate migration and apply it (added columns:
“color”, “weight”)
c) Is there any way to see a final description of the corresponding
model/table?

Thank you in advance…

Ops… I found a similar question in the forum. Thank you anyway =)

On 25 February 2011 14:34, Themistoklis S. [email protected] wrote:

Is there any way to see what attributes are attached to a specific model
after a couple of migrations?

The file “db/schema.rb” should have everything in it, or use some DB
management software (for local development, phpMyAdmin is fine for me)