Hi there.
I have a question;
How do i get the information from the url, if it looks like this:
something.com/stuff/show/1?extra=2
Is this wellformatted ? or do i need to change it ? And if i need to change it, how do i get the extra variable from the url into a variable in the applikation.
On Jan 15, 2007, at 20:16 , Emil K. wrote:
something.com/stuff/show/1?extra=2 Is this wellformatted ?
Is this wellformatted ?
Sure.
how do i get the extra variable from the url into a variable in the applikation.
extra = params[:extra]
– Jakob S. - http://mentalized.net
Thank you
Exactly what i needed.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.