I have a query to ask. Im using radio_button_tag with rails 3.1. The issue that I come accross is that for eg : If I have ascending and descending radio buttons, only one should be selected. But in my case both the radio button tags are getting selected.
Kindly help me.
This is a guess at best, because you haven’t put your code, but:
You need to ensure that your radio buttons have the same HTML
nameattribute by giving your tags the same first parameter inradio_button_tag. See the documentation.