Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Depot example application from the Pragmatic Programmers adapted to use post-redirect-get page flows.
Tree: 59fe079b72

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
features
lib
log
public
script
spec
test
tmp
vendor/plugins/haml
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README.md
Rakefile

README.md

This project contains the depot application as described in the Agile Development with Rails book from the Pragmatic Programmers.

Departures from the book:

  1. All model objects use a UUID as their primary key, rather than the standard Rails autogenerated numeric key.

  2. Uses HAML and SASS for HTML & CSS generation.

  3. The user, product and store controllers have been modified to use the POST-REDIRECT-GET web application design pattern as an exercise to see what it takes to make active-resource controllers (and other rails controllers) behave nicely with browsers' back & refresh buttons.

  4. Uses RSpec and Cucumber for testing.

Something went wrong with that request. Please try again.