On Sun, 2009-07-26 at 14:27 -0700, serenobs wrote:
> ah, one more question.
> if there are 2 radio button groups, then how can I handle these
> things?
> 
> :submit => 'group1', 'group2' may be not working..
> 

put them both inside one <div id="whatever">...</div> and :submit =>
'whatever'.  Assuming you name them group1 and group2, you'll access via
params[:group1] and params[:group2]


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to