mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-28 15:54:01 +00:00
Update cheatsheets
This commit is contained in:
@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`rails generate model {{Post}} {{title:string}} {{body:text}}`
|
||||
|
||||
- Generate a new controller named Posts with actions index, show, new and create:
|
||||
- Generate a new controller named Posts with actions index, show, new, and create:
|
||||
|
||||
`rails generate controller {{Posts}} {{index}} {{show}} {{new}} {{create}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user