Ivan Medda wrote:> Do you know if exist a method to rescue the variable value pass to a
> page .rhtml?
>
> Something sucj as "_GET" in PHP?
>
Take the following Rails form URL:
http://server/foo/bar/LikeThis
Where ''LikeThis'' is the value variable.
And,
<p><%= params[:id] -%></p>
.. is the content of a app/views/foo/bar.rhtml page.
If you visit that URL in your browser, the output HTML would be:
<p>LikeThis</p>
I hope this is what you mean.
If it is you should buy the excellent Rails book (Agile Web Development
with Rails) to help you get started as this is probably the first thing
you would learn to do.
HTH,
Dominic