Forum: Ruby on Rails How Can I get radio button value

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
8dde9d68bf275f74965d7b48d6f2d78d?d=identicon&s=25 Alexey (Guest)
on 2007-05-22 21:54
Hi everyone

I have such question:
How Can I get radiobuttton value in controller, if I have such code for
radio button in _form.rhtml

<label for="duration_Weekly">Duration</label><br/>
<%= radio_button_tag "duration","weekly",true,:id => 'weekly' %>

This topic is locked and can not be replied to.