Publisher review:radio/checkbox needs to be checked - helper to determine if radio/checkbox needs to be checked I frequently have to use methods such as 'radio_button' and 'check_box_tag' when I don't have an object with a method that will automatically determine the value of the input field.
Therefore, I have to check to see if a certain parameter has been passed, and if so, if the parameter's value matches that of the input's value. This method does that.It's designed to be used in a Rails helper. You can either pass it the object, method, and value or name and value.&ss it thet;
radio/checkbox needs to be checked is a Ruby script for Snippets scripts design by moneypenny.
It runs on following operating system: Windows / Linux.
radio/checkbox needs to be checked - helper to determine if radio/checkbox needs to be checked
Operating system:Windows / Linux