Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 535 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 535 Bytes

LinkTree Clone

Creations commands

  • 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

Gems

Files

  • To create a partial file, for example a navigation bar, you need to create with an underscore before the name: _navbar.html.erb