A (hopefully...) quick rake db:migrate question...

Hey Folks,

RoR noob here with a quick question. I have added a field to a table
ruby script/generate migration add_price_to_product price:decimal,

and did: rake db:migrate afterwards.

no change was reflected in the "Views" though. I'm pretty sure i'm
missing something here, can anyone give me a pointer?

Many Thanks...


Hi John,

I think you’re expected to modify your view yourself. Migrations only create/modify your database schema and doesn’t touch anything else.

Warmest regards,