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.
599e56d0e83a11592e3dc33254e0fbf0?d=identicon&s=25 Jan Y. (rocl)
on 2014-04-23 00: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.
Ce7a27ec910b7eed3852ea890a4b96bf?d=identicon&s=25 Tarun G. (tarun_g)
on 2014-05-06 11: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.