Skip to content

Commit

Permalink
misc rails notes
Browse files Browse the repository at this point in the history
  • Loading branch information
DAS committed Dec 3, 2017
1 parent e97e786 commit d3e4815
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ruby_rails_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,19 @@ rvm use ruby-2.4.1@myapp --ruby-version --create
gem install rails
rails new .
```

* misc rails notes:
```
rails new (name)
rails generate (new code)
rails g
- scaffold
rake db:migrate (run all migrations)
rake db:rollback
rake db:schema:dump
rake db:setup
rails console (debug)
rails server (dev server)
rails s
rails dbconsole
```

0 comments on commit d3e4815

Please sign in to comment.