Dave Castellano wrote in post #1106220:
> Hi,
>
> Still learning rails and have a basic question.  Can I pass any variable
> thru the params hash to an action?

You can do that the same way you would do it in HTML, use a hidden form 
field. Rails has a helper for that:

http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-hidden_field

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to