Hi Amree,Try something like this:= f.radio_button :is_active_true , 1, :checked => @search.is_active_true
= f.radio_button :is_active_false, 1, :checked => @search.is_active_falseLet me know if this works for you.Also, aren't you able to check both buttons at the same time, given that the have different name attribute from each other?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/V7Y2J75VOfwJ.
For more options, visit https://groups.google.com/groups/opt_out.

