...we need to focus on humans, on how humans care about doing programming or operating the application of the machines. We are the masters. [Machines] are the slaves.
Yukihiro "Matz" Matsumoto, creator of Ruby
gem install rails --no-ri --no-rdocrails new .rails-haml gem to our Gemfile and install it:bundle install
rails g scaffold User name:string email:stringrails g scaffold Submission user:references body:textrake db:migrateUser reference to a dropdown list in the Submission form.User#index and User#show to display User.name instead of just User.:development group.rails g mailer SubmissionMailerSubmissionController#create.sqlite3 gem to :development group and add pg (postgres) gem to the :production group.Gemfile.lock file:bundle installheroku apps:create tech-talks-feedback:production group ActionMailer defaults:heroku addons:add sendgrid:startergit push heroku masterheroku run bundle exec rake db:migrateThe source files for this project are available at github.com/chrislambe/tech-talk-rails. This presentation can be found at chrislambe.github.io/tech-talk-rails.
This presentation was assembled with the magic of impress.js. Nerd.
If you'd like you can send me any feedback via the app we just built! For the record it can be found at tech-talks-feedback.herokuapp.com
RailsCasts: railscasts.com
Rails Guides: guides.rubyonrails.org
Rails API: api.rubyonrails.org
Eloquent Ruby: amazon.com/Eloquent-Ruby-Addison-Wesley-Professional/dp/0321584104