- Create Controller-View
rails g controller <name> <functionName>
- Create SCAFFOLD -> create model, view & controller for a CRUD (Create, Read, Update, Delete)
rails g scaffold <name> <attribute:type> <attribute:type>...
- Then run
rails db:migrate
- Devise for authentication: https://rubygems.org/gems/devise
- To create a partial file, for example a navigation bar, you need to create with an underscore before the name:
_navbar.html.erb