RESTful Rails Development PDF Released

Restfulrails

A month ago I reported on the release of a PDF (in German) covering Rails' REST abilities by Ralf Wirdemann and Thomas Baustert (the authors of the first German Rails book, "Rapid Web Development mit Ruby on Rails"). With the help of Florian Görsdorf and Adam Groves, they've produced a fine English translation titled "RESTful Rails Development". It's still free (although donations are accepted).

It's only about thirty pages long, but in that space it packs in a lot of information about Rails and REST, including REST routing, URLs, view techniques, path methods, and how to nest resources. If, like me, you're a Rails developer who's pretty savvy at the 1.0 level but haven't made the leap into the world of REST, it's a great primer.

Comments

  1. Jesse Grosjean ·

    Does anyone know if source code is available for the "ontrack" application discussed in the article?

  2. AkitaOnRails ·

    This is really a fine tutorial. I am a brazilian Railer and I published the first portuguese RoR book in Brazil. I already managed the Getting Real book translation to portuguese and I am willing to translate this tutorial into portuguese as well, maintaining it as creative commons or whatever open source license the authors agree with. Do you know how can I contact them to obtain permission?

  3. Anatol Pomozov ·

    [OT] What are you using for drawing such fancy schemes?

  4. Martijn ·

    I'm just like that. Getting it.

  5. Jeroen8 ·

    sometimes I see some PHP errors in the menu (like php_network_getaddresses:).
    Is it time to rewrite this site in Rails :-)

  6. Sandro Paganotti ·

    Thank you for this amazing document. Now it's time for me to create my first RESTful application !

  7. Peter Cooper ·

    I can't answer for them, but it looks like an Omnigraffle diagram to me.

  8. Ralf Wirdemann ·

    Yes, it was OmniGraffle.

  9. Ralf Wirdemann ·

    @AkitaOnRails: It would be great if could translate the tutorial into portuguese. Please keep it under creative commons. Many thanks.

  10. jennifer lindner ·

    i have a question, kind of a newbie question. i'm using a join table, a model that belongs_to two models. it seems to me the analogy to the code in your work would be if iterations belonged to projects and bulletins. so i'd like to make a url helper for the path:

    iteration_path(:project_id => iteration.project, :bulletin_id => iteration.bulletin, :id => iteration)

    instead of the example given in your tutorial:
    iteration_path(:project_id => iteration.project, :id => iteration)

    but i don't even know where to put such code. in the iterations_helper.rb file? sort of like this?:

    def iterations_path

    iteration_path(:project_id => iteration.project, :bulletin_id => iteration.bulletin, :id => iteration)
    end

    or, should this be part of the resource mapping in the routes.rb file?

    help with this would be very very greatly appreciated.

    thank you