Re: [Rails] Any way to use a radio button attached to record id during a create
On 20 December 2011 07:03, Bob Smith <bsm2th@gmail.com> wrote:
> I'm doing a list of family members, each with a radio button for head
> of household. After the household record and the records for each
> person are created, it is easy to set the hoh field to the person
> wanted. The problem comes if I try to set this field before the
> create. Then the field is 0, and this isn't updated after the record
> is created.
Show us how you are setting the field, presumably in create in the controller.
Colin
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home