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: c3910059ed

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
README
Rakefile

README

This project contains the depot application as described in the Agile Development with Rails book from the
Pragmatic Programmers (http://pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition).

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 (http://haml-lang.com/) and SASS (http://sass-lang.com/) for HTML & CSS generation.

3. The user, product and store controllers have been modified to use the POST-REDIRECT-GET web application
   design pattern (http://en.wikipedia.org/wiki/Post/Redirect/Get) 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. Using RSpec (http://rspec.info/) and Cucumber (http://cukes.info/) for testing.
Something went wrong with that request. Please try again.