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)

We are hiring! Do you want to be our Senior Platform Engineer? Are you capable of chipping in across sysadmin, ops, and site reliability work, while supporting the open source stack that runs DEV and other communities?

This role might just be for you!

Apply now