Advertisement

07.16.2008 at 05:41AM PDT, ID: 23569346
[x]
Attachment Details

Write Check Box values to database (Ruby on Rails)

Asked by amdts in Ruby Scripting Language, WebApplications

Tags: Ruby on Rails

I have the need to create a large number of check boxes (22), and then write the values to a single entry within Ruby on Rails.

The user will fill out a form, and select the check boxes for the services they provide, and then those check box values are written to the database with the form submission.


please help,
JasonStart Free Trial
1:
2:
3:
4:
5:
6:
I have written this
 
<%= f.check_box :services_transportationmanagement, {:class => 'check_box'}, "Transportation Management", "" %> Transportation Management
 
but would like to user something like this:
<%= f.check_box :organizationservices, {:class => 'check_box'}, "", "" %> Transportation Management
[+][-]07.21.2008 at 12:21PM PDT, ID: 22053517

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 12:23PM PDT, ID: 22053536

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.25.2008 at 10:00AM PDT, ID: 22090330

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.25.2008 at 03:35PM PDT, ID: 22092777

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.25.2008 at 03:35PM PDT, ID: 22092779

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Ruby Scripting Language, WebApplications
Tags: Ruby on Rails
Sign Up Now!
Solution Provided By: LocoTechCJ
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628