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.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your email address or mobile phone number.

Rails Recipes: Rails 3 Edition Second Edition Edition

4.5 out of 5 stars 11 customer reviews
ISBN-13: 978-1934356777
ISBN-10: 1934356778
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$0.48 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$30.16 On clicking this link, a new layer will be open
More Buying Choices
13 New from $7.99 24 Used from $0.48
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


Save Up to 90% on Textbooks Textbooks
$30.16 FREE Shipping on orders over $35. Temporarily out of stock. Order now and we'll deliver when available. We'll e-mail you with an estimated delivery date as soon as we have more information. Your account will only be charged when we ship the item. Ships from and sold by Amazon.com. Gift-wrap available.

Frequently Bought Together

  • Rails Recipes: Rails 3 Edition
  • +
  • Rails Cookbook (Cookbooks (O'Reilly))
Total price: $62.18
Buy the selected items together

Editorial Reviews

Review

Rails Recipes has always been the definitive guide for aspiring Rails developers. It doesn’t just cover how you could build something, but delves into the details and explains all the reasons why you should build it that way. You can be sure that if you follow the tips and tricks in this book, you’re on the right path."

—Michael Koziarski, Software developer, Rails Core team member, and partner, Southgate Labs

Rails Recipes is a great resource for any Rails programmer. The book is full of hidden gems (no pun intended) that many programmers may not discover in their daily quest to get the job done.

—Gary Sherman, Principal of GeoApt, LLC; chair of QGIS PSC; and author of "The Geospatial Desktop"

About the Author

Chad Fowler is an internationally known software developer, trainer, manager, speaker, and musician. Over the past decade he has worked with some of the world's largest companies and most admired software developers.

Chad is VP of Engineering at LivingSocial. He is co-organizer of RubyConf and RailsConf and author or co-author of a number of popular software books, including The Passionate Programmer: Creating a Remarkable Career in Software Development.

NO_CONTENT_IN_FEATURE



Product Details

  • Paperback: 296 pages
  • Publisher: Pragmatic Bookshelf; Second Edition edition (April 10, 2012)
  • Language: English
  • ISBN-10: 1934356778
  • ISBN-13: 978-1934356777
  • Product Dimensions: 7.5 x 0.9 x 9 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (11 customer reviews)
  • Amazon Best Sellers Rank: #1,130,541 in Books (See Top 100 in Books)

More About the Author

Chad Fowler is an internationally known software developer, trainer, manager, speaker, and musician. Over the past decade he has worked with some of the world's largest companies and most admired software developers.

Chad is VP of Engineering at LivingSocial. He is co-organizer of RubyConf and RailsConf and author or co-author of a number of popular software books, including The Passionate Programmer: Creating a Remarkable Career in Software Development.

Customer Reviews

Top Customer Reviews

Format: Paperback
Once again Chad Fowler has created a book which should be a staple in any developer's arsenal. Chad's recipes are able to span all skill levels from just beginning to seasoned pro. I would consider myself an intermediate to experienced rails developer so this book reinforced my basic knowledge as well as taught me some neat tricks. Even if you think there's nothing more you can get from reading these kinds of books, there is probably a little tip which you could glean from reading Chad's work. I'd recommend this book to those who really enjoy reading really well written code and those who are curious into the thinking of one of the top rails developers.
Comment 8 of 9 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
The author focuses largely on what can theoretically be done within Rails and not on what should be done in a real world application. A good 20% of these recipes are already well documented practices that are already listed on the current RubyOnRails.org. Worse though there are too many recipes that are borderline dangerous, violating fundamental design principles such as S.O.L.I.D, Law of Demeter and the Principle of Least Surprise.

Many recipes highlight their "advantages" only in form of improved readability. Downsides of recipes are almost never mentioned, creating the impression to the novice programmer that each and every one of them is a good idea. Unfortunately the consequences of what happens under the hood in terms of disk seeks, memory and CPU are entirely missing, leaving the reader guessing on how to make intelligent engineering tradeoffs.

I personally recommend reading the "Database Recipes" chapter, as well as the following 6 recipes:
- Create custom form builder
- Test your outgoing Mailers
- Test across multiple controllers
- Create test data with factories
- Automate work with Rake tasks
- Debug and Explore your application with the ruby-debug gem

All in all, out of the 70 recipes there are too few worthwhile reading.
Comment 7 of 8 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
I'm still only a short way through this fairly hefty tome of knowledge, but I'm already impressed at what "made the cut". Just the recipe covering how to use multiple databases (Recipe 3, 'Connect to Multiple Databases') is worth its weight in gold and I've learned a bunch from many other snippets. Overall the coverage is wide-ranging, the full gamut from Controller through UI, and the whole of Part VI ('Big-Picture Recipes') seems awesomely useful.

I would strongly recommend any learner or serious practitioner of Ruby on Rails purchase this book. You won't be disappointed!
Comment 5 of 6 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
Firstly it should be said, that author expects of reader to have at least basic knowledge of Ruby on Rails. Book does not explain Rails basics. Author expects, that reader knows how for example ruby blocks work, etc. In case you are novice programmer, I would recommend to read something like Beginning Rails/Ruby and so on first. If you know Rails, do not hesitate and read this book.

Recipes are quite short (average range is 3-4 pages, some of them does not exceed 1 page). Every recipe begins with brief introduction to the problem. I appreciate, that on several places author suggests solution with short code sample and then uses multiple iterations to reach final solution, during which time he explains why taking these steps. It can be told, that recipes are written very clearly. Code samples are well described and well-arranged. I like that these samples are not academic or weird theoretical examples. All of them can be found in real life. I had not feeling, that meaning is hidden between lines during reading recipes. All is brief and clear.

Recipes are not ordered according to their difficulty, rather than that they are grouped by topic. Their difficulty varies. The topics are:

- Database Recipes
- Controller Recipes
- User Interface Recipes
- Testing Recipes
- Email Recipes
- Big-Picture Recipes
- Extending Rails

I consider such division as appropriate. Intermediate programmer can focus his or her attention to topic, which is interesting for him or her. Someone, who begins with ruby will probably read everything anyway and in this case it is also good to have similar recipes grouped together to avoid mess.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
Some of the recipes here are repeats of the previous (Rails 1, 2006) edition, which I already have. The new material is really good, enough to justify a 5-star rating. Coverage of testing and big-picture is improved. The big-picture recipes take advantage of many features added since Rails 1. I especially enjoyed the cross-referencing between recipes, as this added value while giving specific examples of how the recipe works.

A new section on extending Rails helps both with automating repetitive tasks, and by showing how Rails does this behind the scenes. Some of this is new to me, so it will take time before I can fully evaluate the section. Overall, I'd rate this a must buy for serious Rails programmers.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
This book eliminated lot of grief for me. After struggling to navigate the wide world of Rails, this book helped me find solutions for my immediate problems. Rails was daunting for me and luckily there are excellent books like this that helped me find my way around.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Want to discover more products? Check out this page to see more: computer network