Hi!

I forgot to say to look in the params hash:

http://guides.rubyonrails.org/action_controller_overview.html#routing-parameters

Everaldo
On Sun, Oct 16, 2011 at 8:53 PM, Everaldo Gomes wrote:

Take a look at the request object:


http://guides.rubyonrails.org/action_controller_overview.html#the-request-object

Best Regards,

Everaldo

On Sun, Oct 16, 2011 at 8:33 PM, nick.colgan wrote:

What's the best way to retrieve the current path? (i.e. /posts/1)

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedOct 16, '11 at 10:33p
activeOct 17, '11 at 12:05a
posts3
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Everaldo Gomes: 2 posts Nick.colgan: 1 post

People

Translate

site design / logo © 2021 Grokbase