Thursday, November 24, 2011

[Rails] Re: Retrieving ID from a POST URI

Beauty!!!! Thats it.
Thank you.
Knew it was a string call, just not sure which one. Especially coming
from the PHP world.
Thanks again.
B

On Nov 24, 8:29 pm, JGW Maxwell <jgwmaxw...@gmail.com> wrote:
> Is there anything wrong with:
>
> data['referring_site'].split("/").last
>
> Which will give you what you are looking for, assuming that is the limit of
> your URL?

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate