I have a Users model which needs an :email column (I forgot to add that column during the initial scaffold).
:email
I opened the migration file and added
You can also do this .. rails g migration add_column_to_users email:string
then rake db:migrate also add :email attribute in your user controller ;
for more detail check out http://guides.rubyonrails.org/active_record_migrations.html