Forum: Rails deployment Quickly Set Param in View

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
74a905997dd2f6c0d64eaf5bfbec0b0f?d=identicon&s=25 Jan Yo (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.
0682c626ee13b3f3dad07b9f9318e32d?d=identicon&s=25 Tarun Garg (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.