Does anyone know of a tutorial that shows how to setup a restful application that has more than one table ? preferably showing how to handle relationships. eg user - membership - groups Im ok with the nest routes but passing the right variables in the links is proving to be a problem. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
See if this helps: http://david.goodlad.ca/articles/2006/08/02/simply_restful-in-rails-core On Sep 26, 2006, at 7:02 AM, Adam Madd wrote:> > Does anyone know of a tutorial that shows how to setup a restful > application that has more than one table ? > > preferably showing how to handle relationships. eg user - membership - > groups > > Im ok with the nest routes but passing the right variables in the > links > is proving to be a problem. > > > > > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Jamie Orchard-Hays wrote:> See if this helps: > > http://david.goodlad.ca/articles/2006/08/02/simply_restful-in-rails-corethanks. It does appear that no one has made a tutorial on a multi table restful instance. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
I would suggest looking at a couple of the open source projects out there. Beast (http://beast.caboo.se) is one project that uses the latest RESTful features. On 9/26/06, Adam Madd <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Jamie Orchard-Hays wrote: > > See if this helps: > > > > http://david.goodlad.ca/articles/2006/08/02/simply_restful-in-rails-core > > > thanks. It does appear that no one has made a tutorial on a multi table > restful instance. > > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Carl Fyffe wrote:> I would suggest looking at a couple of the open source projects out > there. Beast (http://beast.caboo.se) is one project that uses the > latest RESTful features.that was useful, cheers. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---