Getting Started with Ruby - Guide

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. :slight_smile:

Yours faithfully
Greeneco

On Sep 15, 2013, at 6:12 AM, Green E. [email protected] 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 :slight_smile:

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?

tamouse m. wrote in post #1121496:

On Sep 15, 2013, at 6:12 AM, Green E. [email protected] 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 :slight_smile:

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. :slight_smile:
Thanks. :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs