I don't understand if I am supposed to put this code somewhere or not. The guide doesn't tell me exactly. I also noticed the same sort of code is discussed in section 5.8 where it mentions
posts GET/posts(.:format) posts#index
Any help would be great.
Thanks!
Jordon Bedwell
unread,
Dec 3, 2013, 3:21:02 AM12/3/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
That's `rake routes` output, and translates roughly to:
`get "/posts/:id", :to => "posts#show", :as => :post` in config/routes.rb
Colin Law
unread,
Dec 3, 2013, 4:00:23 AM12/3/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
I suggest working through the tutorial at railstutorial.org (which is free to use online). For absolute beginners I think it is better than the rails guide.