Topic: views not updated automatically after rake db:migrate?
I want to modify my Item table (remove/add columns) after creating it. But seems the html views are not updated automatically. Here's what I did:
rails generate scaffold Item name:string price:integer
rails generate migration AddDescriptionToItems description:text
rails generate migration RemovePriceFromItems price:integer
rails generate migration
I checked the .rb files under db/migrate and tried the console to create item in the table. They looks okay. But the problem is, the .erb files under app/views/items are not automatically updated according to the columns changes.
Did I miss anything to have the .erb files updated? Or I have to modify these .erb files manually -- I hope not?