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)