Ruby on Rails Tuesday, July 23, 2013

Rails guides are merely guides to using various features of rails, and not a guide to learning rails from a beginner's POV. For that, I highly recommend http://ruby.railstutorial.org/ruby-on-rails-tutorial-book, which is a free online book.

-- 
Dheeraj Kumar

On Wednesday 24 July 2013 at 9:17 AM, Night School wrote:

Hey there. I'm a complete noob when it comes to Rails, and Ruby for
that matter. I've been trying to make my way through the Getting
Started with Rails page on the RoR Guides site

In section 5.7 of that page it says the following:

If you submit the form again now, Rails will complain about not finding
the show action. That's not very useful though, so let's add the show
action before proceeding.

post GET /posts/:id(.:format) posts#show

The problem I'm having is I don't know where to put this line of code.
Does it go in /config/routes.rb? If so, where?

Thanks in advance.

--

--
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@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.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@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/E5794FF88F4645C8B8E9D86D9F7E6DFE%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment