Hi, I am making the Ruby on Rails Getting Started Guide at: http://guides.rubyonrails.org/getting_started.html but I have one problem. Almost everything is well explained but at 5.7 and 5.8 there are two commands: post GET /posts/:id(.:format) posts#show posts GET /posts(.:format) posts#index and it is not explained where I should put them. So I tried a few things, but especially the second one is I guess essential without I get an error message, for the first one I could manage it somehow. Could anyone make a quick look and tell me where I have to put them, please.? I am looking forward to hear from you and thank you for your time. :-) Yours faithfully Greeneco -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/727e266acec79cb504e23d4e2a5a7294%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
On Sep 15, 2013, at 6:12 AM, Green Eco <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi, > > I am making the Ruby on Rails Getting Started Guide at: > http://guides.rubyonrails.org/getting_started.html > but I have one problem. > Almost everything is well explained but at 5.7 and 5.8 there are two > commands: > post GET /posts/:id(.:format) posts#show > posts GET /posts(.:format) posts#index > > and it is not explained where I should put them. So I tried a few > things, but especially the second one is I guess essential without I get > an error message, for the first one I could manage it somehow. > > Could anyone make a quick look and tell me where I have to put them, > please.?Hi, welcome and stuffs :) These are not actually commands, but are the output from the `rake routes` command — the guides here are less than clear about that. If you read the version at http://edgeguides.rubyonrails.org/getting_started.html instead, is that clearer what''s being shown? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9C418C15-DE4C-41D5-B926-4F6656B1F21B%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
tamouse m. wrote in post #1121496:> On Sep 15, 2013, at 6:12 AM, Green Eco <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > >> and it is not explained where I should put them. So I tried a few >> things, but especially the second one is I guess essential without I get >> an error message, for the first one I could manage it somehow. >> >> Could anyone make a quick look and tell me where I have to put them, >> please.? > > Hi, welcome and stuffs :) > > These are not actually commands, but are the output from the `rake > routes` command the guides here are less than clear about that. If you > read the version at > http://edgeguides.rubyonrails.org/getting_started.html instead, is that > clearer what''s being shown?Thank you for your quick answer, you really saved my day. :) Thanks. :-) -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/6481e7ae1260777c750ca0b2622a60e7%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.