Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Sample code used in The Rails 3 Way
branch: master

Markdown it

latest commit 4d6a7c0abd
Josh Graham delitescere authored Pairing Workstation Sears committed
Failed to load latest commit information.
app Make stuff work with Rails 3 beta4 and RSpec 2
autotest Make stuff work with Rails 3 beta4 and RSpec 2
config
db Add total_spend and queries
doc Begin updating for Rails 3
lib Make stuff work with Rails 3 beta4 and RSpec 2
public add comment
script Add script/rails
spec Make stuff work with Rails 3 beta4 and RSpec 2
test Make stuff work with Rails 3 beta4 and RSpec 2
vendor/plugins HAML plugin updated automatically
.gitignore Make stuff work with Rails 3 beta4 and RSpec 2
.rspec
.rvmrc Make stuff work with Rails 3 beta4 and RSpec 2
Gemfile
Gemfile.lock Make stuff work with Rails 3 beta4 and RSpec 2
README.md Markdown it
Rakefile Make stuff work with Rails 3 beta4 and RSpec 2
config.ru Fix application name in rack config

README.md

Welcome to The Rails 3 Way

This is a sample application that will help you follow along in the book.

Issues

  • Assuming OS X 10.6.4
  • Lots of Rails, RSpec, and Bundler things are in flux, as well as Ruby 1.9.
  • This app should work under Ruby 1.8.7-p299 and Ruby 1.9.2.rc1
  • You need mysql 5.1.41 if running Ruby 1.9.2.rc1 (to avoid seg faults)

Setup

For now:

  • gem install bundler --pre
  • gem install rails --pre
  • gem install rspec-rails --pre
  • gem install ruby-debug#19 #remove the comment before '19' if on Ruby 1.9
  • bundle install
  • rake test && rake spec #to run the tests
Something went wrong with that request. Please try again.