You can also do it like this...
link_to ''action'', :action=>''action'',
:randid=>randid
On Friday, April 28, 2006, at 10:51 PM, Wilson Bilkovich
wrote:>On 4/28/06, Mohammad <name.goes.here44@gmail.com> wrote:
>> I want to pass my own param called randid so I can do this
>> @rnd = params[:randid]
>> this will work if I can pass the :randid
>>
>
>Just make a form input field with the name ''randid'', and
you''re good.
>If you want to do it via a GET, you can pass it in the URI and define
>the name ''randid'' for it in routes.rb
>_______________________________________________
>Rails mailing list
>Rails@lists.rubyonrails.org
>http://lists.rubyonrails.org/mailman/listinfo/rails
_Kevin
--
Posted with http://DevLists.com. Sign up and save your mailbox.