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.
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.
you can just add hidden field in html and set the value into the same
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs