forked from tomcz/pragprog-depot-prg
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,16 @@ | |||
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][PRG] | |||
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. Using [RSpec](http://rspec.info/) and [Cucumber](http://cukes.info/) for testing. | |||
|
|||
[PRG]: http://en.wikipedia.org/wiki/Post/Redirect/Get |