A bit dated but gets right to the point with a useful example., 2008-05-04
Reviewer rating:
This book made use of an earlier version of Rails, but if you aren't totally clueless and have the wisdom to read warnings from IDEs, generation scripts and the server, you can actually get the code running.
BTW, 99% of the code works without warnings/errors at all. FWIW, I switched to Mac OS X to do this (from Dell using XP), so I was fighting a lot of other differences besides having a more modern Rails, and I actually got through it all. Also, I am an old Java/C++ programmer... so if somebody younger than me cannot get this stuff, maybe they should think carefully about whether programming is for them (Rails development is still programming).
This is a hands-on, bottom up book. I did wrestle a bit with reading the chat about the code *then* coding or coding the code and *then* reading the explanations. It was *fun* to use this book and I really enjoyed using this book for getting a visual, and (for me) potentially useful application running.
Best of all, IMO... the core material is under 150 pages! Hard to find such terse and useful books these days. If anyone remembers the power and elegance of K&R's C book, you'll appreciate this fact.
Here are some things to keep in mind:
[1] Uses Rake for migrations and yes on a modern Rails (pre 2.0) you will see deprecation notices that tell you what you need to do... either way it works.
[2] Uses some deprecated start_forms_tag but guess what, if you have the internet you google around and you figure it out. And you know what then? You own what you learn and are not just spoon fed the code.
[3] Does not go deep into theory.
[4] You best try your hand at Ruby first just so you can read Rails code... ummmm it uses Ruby ya know.
[5] Is not TDD or BDD... so you are coding the evil, old fashioned way. Unless you are Donald Knuth (who claims to have no need for unit testing).
[6] Be careful during the DB migrations section, I screwed up the order of some things, I don't think the book misled me. I also figured my way out of it while also learning how to get around SQLite3's command shell. No whining from those spoiled by pushbutton IDEs please.
[7] This book will not make you a Rails guru, it opens the door and gives you working code base to head down that road. You'll still have other books, blogs, and Wikis ahead of you.
Buy it for pre Rails 2, I assume it is still largely applicable to Rails 2, which came out last year (end of).
While this book does not require it, I found using NetBeans IDE with Ruby/Rails support helped me get the coding done much faster than using VIM or TextEdit. I did not use it to generate the application and the components. For that I used the Rails command line scripts per the book.