Versions: Another promotion from the comments
Somebody anonymous asks:
As most of the currently available books cover Rails 1.2, are you providing the code in the books also as Rails 1.2?
The sample example in the book is Rails 2.0, which was Edge Rails when I started, and I just validated all the tests against 2.0.2 last week when I turned in the finished code samples. Where there's a significant change between 1.2 and 2.0, I tried to note it in the text, but I would want to claim that I got all of them.
That said, most of the techniques in the book are applicable to 1.2 applications, although some tweaking may be needed.
There are a number of reasons for this, but mostly it boils down to a) differentiating from books that are already on the shelf and b) giving the book as long a life span as possible. Maintaining two separate versions of the sample application was not feasible given the time constraints.
Ruby version, for what it's worth, is 1.8.6 -- I felt that 1.9 was too experimental to be working with during most of the writing.