DEV Community

ViriCruz
ViriCruz

Posted on

Newbie notes while learning rails

This a small diary...📓
If you are using heroku to deploy your app and a database, don’t forget to run heroku run rails db:migrate after git push heroku master.

You can use multiple rails version, useful if you are following a tutorial from a previous version than the current version. Just don’t forget underscores while rails 5.1.6 new app_title where 5.1.6 can be another version.

If you modify your Gemfile don’t forget to bundle install after the changes.

Always check if at some point of the code the colon is in front of the variable like name: or if it’s in back :name, this always put me in trouble while learning rails.

This are things happening right now to me while learning and if you feel like sharing your experience while you were learning rails please add a comment 😋

Top comments (0)