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…