I’m trying to search for active and non active users. These radio
work just fine except that it didn’t reselect itself after the form has
been submitted. So, what should I do to ensure it will be selected just
like how my text field populated automatically after the form has been
= search_form_for @q do |f|
= f.radio_button :is_active_false, 1
= f.radio_button :is_active_true, 1
Thanks in advance.