Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Rails Recipes (Pragmatic Programmers) Paperback – June 19, 2006
About the Author
Chad Fowler is co-director of Ruby Central, Inc., and remains an active, driving force in the Ruby community.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
The Pragmatic books are generally good, but I've come to prefer the Addison Wesley series on Rails and Ruby, which are thorough and up to date.
Now in late 2008 and early 2009 the book is too obsolete. Most examples, starting almost from the first page, will not run under Rails 2.x, as the book was written with Rails 1.x in mind.
Rails is a fast advancing technology, which makes some books quickly become obsolete. This is one of them.
In short don't waste your money, and try instead something like Advanced Rails Recipes, which I just purchased, and which was written specifically for Rails 2.x
Anyway, it's minor things you can work your way through, but which nevertheless show the book's age.
Pragmatic is never going to win any awards for layout of their books, but the content within more than makes up for the drab interior. I can't list out all 70 tidbits here but I will give the breakdown of chapters:
User Interface Recipes (13)
Database Recipes (17)
Controller Recipes (10)
Testing Recipes (4)
Big-Picture Recipes (22)
Email Recipes (4)
If you use Ruby on Rails and want to be able to accomplish common tasks without rewriting code that already exists, you owe it to yourself to pick up this book and improve your efficiency the moment you turn the front cover over. Wonderful book, great size, solid writing make this an EASY recommendation.
***** HIGHLY RECOMMENDED
Nothing terribly exciting visually. Use a "web / recipe card" looking tab design for sections & headings. Type face and size is standard and readable.
Generally not a cover to cover type book. The book consists of 70 sections, some larger "recipes" and some shorter "snack recipes". The majority of the recipes include: Problem, Ingredients (gems, etc..) and Solution. These short standalone sections provide for easy reading.
[...]If you find a few topics that sound applicable to your current project, or that sound useful for a future project - I'm sure you will find this book to be very practical. If it saves you half an hour of searching the Internet, I imagine it probably was worth the investment.
For example, I found the topic of "Versioning Your Models" to be of real practical use. The information was presented clearly and I could immediately put it into use on a current project.
If you already know how to solve all these problems, or just are not interested in them, well then this book won't be very practical for you.
According to the book the target audience are developers already familiar with the basics of Rails, looking to see how an experienced Rails developer would solve a specific problem. The book successfully meets that intended target.
It is a usefull tool for a working Rails developer. Most topics are not terribly complex, but may help to make you aware of solutions that you had not previously considered. Personally, it won't be a "keep on your desk" or "use every day" type book - but I am glad to have it on my bookshelf.
I look forward to using Chad's recipes in my current projects. I already have a couple of ideas, including prettying up my URLs and creating a custom form builder. If I had one criticism, it's the relative paucity of testing recipes. Writing Rails applications test-first is still a struggle for me, and I know there are those from whom I can learn. I would like the opportunity. (How many of you would like to come to Toronto to teach me?) I suppose I'll have to write a few testing recipes of my own.
Reading this book is like having access to multiple, experienced Rails developers (including some of those contributing to the core Rails product) that have developed and deployed commercial software on this new, upcoming platform. I hope to have an opportunity to develop product in this technology and know that by owning this product I'm more prepared than ever. Highly recommended.