Hello, I was checking out the Intranet example in "Ajax on Rails" book and i come accross contacts_url and message_url etc. I cannot find where the declaration is in the example nither i can find any reference online. Please if some one has info let me know. Thanks Divya --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Those would be created from the routes in the routes.rb file. See if the online example has a reference to routes and you should find your explanation there. Those are dynamically created methods and are not native rails methods. On 4/23/07, Divya Khullar <khullar.divya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hello, > I was checking out the Intranet example in "Ajax on Rails" book and i > come accross contacts_url and message_url etc. I cannot find where the > declaration is in the example nither i can find any reference online. > Please if some one has info let me know. > Thanks > Divya > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks. You are rite. Thanks again. On Apr 23, 5:06 pm, "Andrew Kaspick" <akasp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Those would be created from the routes in the routes.rb file. See if > the online example has a reference to routes and you should find your > explanation there. Those are dynamically created methods and are not > native rails methods. > > On 4/23/07, Divya Khullar <khullar.di...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hello, > > I was checking out the Intranet example in "Ajax on Rails" book and i > > come accross contacts_url and message_url etc. I cannot find where the > > declaration is in the example nither i can find any reference online. > > Please if some one has info let me know. > > Thanks > > Divya--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---