I’m a new Ruby on Rails user, and I’m trying to make a page with
several groups of 3 radio buttons. The user chooses one button from
each group, then clicks the save button, where each selection is
stored in the database. My question is how I can know which button was
selected - is there a method like get_checked_button, or do I have to
cycle through each group and see which of the three is checked? If the
latter is the case, how would I do that?