Forum: Rails deployment Quickly Set Param in View

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jan Y. (Guest)
on 2014-04-23 02:00
For testing purposes, I just want to set a param value in a view.

But, don't want to do any links or javascript.

What's the best to quickly set a param[:x] in the view so I can access
in controller.
Tarun G. (Guest)
on 2014-05-06 13:38
you can just add hidden field in html and set the value into the same
This topic is locked and can not be replied to.