1. rails generate scaffold User name:string email:string
2. self-contained bundles of gems. Useful for versioning
3. Edit Gemfile, then run ‘bundle install’ or just ‘bundle’.
4. Ruby Version Manager. Install and manage multiple versions of Ruby.
Edit Gemfile, then run ‘bundle install’ or just ‘bundle’.
1. self-contained bundles of gems. Useful for versioning.
2. self-contained packages of Ruby code
3. Ruby Version Manager. Install and manage multiple versions of Ruby.
4. rails generate scaffold User name:string email:string
self-contained bundles of gems. Useful for versioning.
1. rails generate scaffold User name:string email:string
2. self-contained packages of Ruby code
3. self-contained bundles of gems. Useful for versioning.
4. Ruby Version Manager. Install and manage multiple versions of Ruby.
self-contained packages of Ruby code
1. rails generate scaffold User name:string email:string
2. Ruby Version Manager. Install and manage multiple versions of Ruby
3. self-contained packages of Ruby code
4. self-contained bundles of gems. Useful for versioning.
rails generate scaffold User name:string email:string
1. self-contained bundles of gems. Useful for versioning.
2. bundle exec rake db:migrate. Using bundle exec ensures that the rake version in our Gemfile is used.
3. rails generate scaffold User name:string email:string
4. Ruby Version Manager. Install and manage multiple versions of Ruby.
bundle exec rake db:migrate. Using bundle exec ensures that the rake version in our Gemfile is used.
1. rails generate scaffold User name:string email:string
2. Ruby Version Manager. Install and manage multiple versions of Ruby.
3. self-contained bundles of gems. Useful for versioning.
4. self-contained packages of Ruby code
Ruby Version Manager. Install and manage multiple versions of Ruby.
1. unit, functional, and integration tests
2. RAILS_ENV (RAILS_ENV=production)
3. integration test
4. rails generate migration AddPhoneToTickets phone:string
rails generate migration AddPhoneToTickets phone:string
1. ActionPack
2. ActiveRecord
3. a web page
4. an object
ActionPack
1. CamelCase
2. ruby make
3. an object
4. rake db:migrate
rake db:migrate
1. the method within the controller to call
2. HTTP methods (post, get, put, delete)
3. the data being presented by the web page
4. their names begin with an underscore
the method within the controller to call