In ruby all things like numbers, strings are objects. We don’t need to specify any datatype to variables.
example-
<%= f.radio_button(:A_Impact_Value,1) %>
so here A_Impact_Value datatype can be integer,boolean .
solved Ruby On Rails — Check boxs , Dropdowns , Radio buttons [closed]