Rails Recipes premieres in beta book form

Posted by David February 04, 2006 @ 04:42 PM

Chad Fowler has completed the first draft of the initial 21 chapters for Rails Recipes and is now making the work available as a beta book for purchase. The final book is still a ways off, but this is an awesome opportunity to get at the very timely material right now. You need to strap on your edge shoes and get the latest Rails version off the repository for some of the recipes that rely on 1.1 features, but most of them is just about clever ways to do common things.

The great thing about Chad’s approach to these tutorials is that they are more like case studies than laundry lists of commands to input. Take the recipe to use Active Record with multiple databases. First, it sets up a complete sample mini-application to demonstrate (using best practices like migrations), then walks you through how the quick one-off hack would look like (so you understand the mechanics), then wraps everything up in a sweet External class hierarchy for ease of reuse. And then of course tops up with a recommendation that you shouldn’t really be using multiple databases unless you have no other choice and offers alternatives to avoid it.

This makes Rails Recipes useful for more than just looking up when you encounter a problem it has the solution for. It serves just as well as a teaching tool in the best practices of the framework in general and you’re likely to become a better Rails programmer by reading through all of the recipes one by one. Even if you don’t need to use multiple databases today.

So this is the perfect stepping stone after or as a companion with the Agile Web Development with Rails book. Get the first 21 recipes today and receive updates with additional recipes as they become ready. I’ll be working with Chad myself to ensure that these recipes offer as much of The Rails Way as possible and that it’ll discuss how to use all the goodies from the forthcoming Rails 1.1.

Now what are you waiting for? Go pick it up, yo.

Posted in Documentation | 37 comments

Comments

  1. Phil on 04 Feb 16:51:

    Getting my wallet out now…

  2. jerry on 04 Feb 16:56:

    purchased… waiting for my .pdf to be generated…

  3. Jay on 04 Feb 18:01:

    count me in

  4. Bugsy on 04 Feb 18:21:

    How much more recipes will the final book have?

  5. David Heinemeier Hansson on 04 Feb 18:22:

    The final book is expected to get around 70 recipes.

  6. Chad Fowler on 04 Feb 19:06:

    Also keep in mind that if you get in on the beta, you have a chance of getting some recipes by request. :)

  7. Tim Connor on 04 Feb 19:26:

    Well then. Just bought the combo pack. Does that mean I can request some form of the archetypical project a product-catalog/shopping-cart/credit-card processor? ;)

  8. Tim Connor on 04 Feb 19:28:

    Doh! Forgot about the Depot demo in the other book. Face-palm Well a piece that doesn’t cover? ;D

  9. Seth on 04 Feb 20:26:

    I have a product-catalog/shopping-cart/cc-processor rails engine…

    Are people interested in such a thing?

  10. nick on 04 Feb 20:45:

    i’d like to request how to make the kitchen sink sink rails is “better” than java.

  11. Justin on 04 Feb 21:02:

    Seth: Sounds interesting. Would be great if you could share it with everyone—I’m sure many would find it useful.

  12. Boaba on 04 Feb 22:56:

    I put in my request for a continuations/wizard recipe, would be nice to see.

  13. Shalev on 05 Feb 00:03:

    How about a clean, simple way to do authentication with maybe an alternate/second recipe on how to expand that to a more robust scheme (with ACL’s or something like that). Currently the wiki area dealing with authentication is a confusing mess.

  14. Shalev on 05 Feb 00:05:

    Heh, spoke too soon. I was waiting for the system to generate my book… authentication’s already in there!

  15. Dave on 05 Feb 01:41:

    Excellent. Just purchased my combo pack. Looking forward to this one very much as I just finished my initial run through the Agile book and was very pleased with it. Should be a great next step book.

  16. railsboard on 05 Feb 02:39:

    Nice for the posssibily of requests, Chad. Just got it, only a 9 minute wait after ordering.

  17. nside on 05 Feb 21:13:

    just beautyfull!! waiting for updates!!

  18. Antonio on 06 Feb 16:06:

    thanks to the authors for the book and editor to allow pdf purchase, it’s really usefull for us in Europe/Asia to avoid waiting weeks to start working!

    BTW, a multilingual website recipe would be highly desired (I18N, localization, UTF8…)

  19. Antonio on 06 Feb 16:07:

    thanks to the authors for the book and editor to allow pdf purchase, it’s really usefull for us in Europe/Asia to avoid waiting weeks to start working!

    BTW, a multilingual website recipe would be highly desired (I18N, localization, UTF8…)

  20. Antonio on 06 Feb 16:10:

    Sorry for the form submitted twice…

    <u>it’ll discuss how to use all the goodies from the forthcoming Rails 1.1</u>

    Where can we find more information about 1.1 new features? I’ve seen nothing

  21. stephan on 06 Feb 16:32:

    I’d second the request for an I18N recipe!

  22. http://seog.net on 07 Feb 18:08:

    I think along with email it might be a good thing to cover RSS. How to generate feeds, how to import RSS feeds for use in rails. I’m know there are some libraries out there but I’m sure there are some spiffy RSS topics that could be covered and would be relevant to a range of different developers.

  23. Tony on 08 Feb 15:33:

    Just bought my copy:) I will third the I18N recipe :)

  24. Patrizio on 08 Feb 20:04:

    A recipe on full text searches? With Ferret? With Rast?

  25. Marcus on 09 Feb 20:35:

    I bought it like an hour after it was released—great stuff! I’m using it already.

    I’d like to see a comprehensive tutorial on how to use HABTM with acts_as_list and more on how to use the edit in place stuff.

  26. Marcus on 09 Feb 20:35:

    I bought it like an hour after it was released—great stuff! I’m using it already.

    I’d like to see a comprehensive tutorial on how to use HABTM with acts_as_list and more on how to use the edit in place stuff.

  27. Tieying Liu on 10 Feb 00:43:

    please i18N stuff, thanks

  28. paul on 10 Feb 02:31:

    Another i18N/l10n request. Thanks.

  29. peter on 10 Feb 03:59:

    i18n/l10n here as well.

    Perhaps a recipe on has_many :through would be nice as well

  30. sausheong on 10 Feb 05:55:

    Great! Was just looking for the thing … bought it right away.

  31. Mark Shen on 16 Feb 02:15:

    I am very interested in book.my question is how to get the beta version book.

    Thanks

  32. Peter Marreck on 17 Feb 20:13:

    I’m definitely going to be buying this. I’d like to see a recipe describing a way to create a page that lets you edit HABTM mappings, for example, if you have a products table and a categories table and want a product edit page that includes all the categories with checkboxes (more or less automatically) and also handles receiving the data correctly.

  33. Peter Marreck on 17 Feb 20:20:

    I’m definitely going to be buying this. I’d like to see a recipe describing a way to create a page that lets you edit HABTM mappings, for example, if you have a products table and a categories table and want a product edit page that includes all the categories with checkboxes (more or less automatically) and also handles receiving the data correctly.

  34. Peter Marreck on 17 Feb 20:21:

    Ah, and a recipe to prevent dupe posts due to the page not updating would be nice ::wink wink::

  35. Rami Bitar on 20 Feb 01:16:

    It would be great to have recipes showing how to integrate rails with popular APIs such as Amazon, PayPal, Google Maps etc.

  36. tom on 22 Feb 05:51:

    oh. another book, still no real docs.

    what is this, scientology?

  37. Bert on 27 Feb 22:53:

    On my way to the store as we speak. That didn’t make sense since I’m writing. Damn…