RESTful Rails Development PDF Released
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.
February 20, 2007 at 4:00 am
Does anyone know if source code is available for the "ontrack" application discussed in the article?
February 20, 2007 at 4:00 am
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?
February 20, 2007 at 10:28 am
[OT] What are you using for drawing such fancy schemes?
February 20, 2007 at 12:40 pm
I'm just like that. Getting it.
February 20, 2007 at 7:19 pm
sometimes I see some PHP errors in the menu (like php_network_getaddresses:).
Is it time to rewrite this site in Rails :-)
February 20, 2007 at 7:19 pm
Thank you for this amazing document. Now it's time for me to create my first RESTful application !
February 20, 2007 at 7:35 pm
I can't answer for them, but it looks like an Omnigraffle diagram to me.
February 21, 2007 at 7:19 am
Yes, it was OmniGraffle.
February 21, 2007 at 7:24 am
@AkitaOnRails: It would be great if could translate the tutorial into portuguese. Please keep it under creative commons. Many thanks.
March 10, 2007 at 1:19 am
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