Getting Started with Ruby - Guide

39 views
Skip to first unread message

Green Eco

unread,
Sep 15, 2013, 7:12:52 AM9/15/13
to rubyonra...@googlegroups.com
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/.

Tamara Temple

unread,
Sep 15, 2013, 9:16:11 AM9/15/13
to rubyonra...@googlegroups.com

On Sep 15, 2013, at 6:12 AM, Green Eco <li...@ruby-forum.com> 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?


Green Eco

unread,
Sep 15, 2013, 10:43:57 AM9/15/13
to rubyonra...@googlegroups.com
tamouse m. wrote in post #1121496:
Thank you for your quick answer, you really saved my day. :)
Thanks. :-)
Reply all
Reply to author
Forward
0 new messages