On Fri, Sep 2, 2011 at 2:29 PM, Bob Smith <[email protected]> wrote:

> What I want to do is to have a list of radio buttons, each pointing to
> that person's hoh field with only one in the list selected at a time.
> I will set a name in the household model based on the value found in
> the person model
>
> Can't find a way to do this with different variables referenced in the
> radio_button call.

So generate the radio button set using a common "name" attribute.

Have you read the radio_button doc? What part isn't clear?

-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan

-- 
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