Programming Books C Java PHP Python Learn more Browse Programming Books

Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 


or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $3.85 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Rails Recipes: Rails 3 Edition [Paperback]

by Chad Fowler
4.3 out of 5 stars  See all reviews (9 customer reviews)

List Price: $35.00
Price: $22.99 & FREE Shipping on orders over $35. Details
You Save: $12.01 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 5 left in stock (more on the way).
Ships from and sold by Amazon.com. Gift-wrap available.
Want it tomorrow, April 25? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Sell Us Your Books
Get up to 80% back when you sell us your books, even if you didn't buy them at Amazon. Learn more

Book Description

April 13, 2012 1934356778 978-1934356777 Second Edition

Thousands of developers have used the first edition of Rails Recipes to solve problems known to stop even experienced programmers in their tracks. Now, five years later with Rails 3.1 released, it's time for a new edition of this tested collection of solutions, completely revised by Rails master Chad Fowler.

Written for novice to intermediate Rails developers, Rails Recipes: Rails 3 Edition is packed with solutions to 70 of the most vexing problems you're likely to face on the job. From building custom forms and powering pages with JQuery to integrating with legacy databases, it's all here. Each recipe has been updated to reflect the latest features of Rails 3.1 and each lays out a distinctive solution to a problem you may be facing today or could well encounter tomorrow. In addition, you'll find half the book is stocked with new eye-opening solutions to such common problems as how to extend Rails, test and deploy your sites, or add a web service to your actions. And each recipe not only lays out a succinct solution, but explains its rationale and the technologies that make it work.

Loaded with the insights of a Rails community leader, members of the Rails core team and other experts, this is the book you'll want to have at your side as you craft your next project.

What You Need:

Ruby 1.8.7 or above

Rails 3.1 or above


Frequently Bought Together

Rails Recipes: Rails 3 Edition + The Rails View: Create a Beautiful and Maintainable User Experience + Agile Web Development with Rails 3.2 (Pragmatic Programmers)
Price for all three: $74.96

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.


Product Details

  • Paperback: 296 pages
  • Publisher: Pragmatic Bookshelf; Second Edition edition (April 13, 2012)
  • Language: English
  • ISBN-10: 1934356778
  • ISBN-13: 978-1934356777
  • Product Dimensions: 9 x 7.5 x 0.9 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon Best Sellers Rank: #537,272 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

4.3 out of 5 stars
(9)
4.3 out of 5 stars
Share your thoughts with other customers
Most Helpful Customer Reviews
7 of 7 people found the following review helpful
5.0 out of 5 stars A Must Read April 9, 2012
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 | 
Was this review helpful to you?
4 of 5 people found the following review helpful
3.0 out of 5 stars Too few recipes are worthwhile reading March 4, 2013
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 | 
Was this review helpful to you?
4 of 5 people found the following review helpful
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 | 
Was this review helpful to you?
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?
5.0 out of 5 stars Great book for understanding the nuances of Rails February 10, 2013
By ravis
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?
ARRAY(0xa0335e94)


Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



Look for Similar Items by Category