Walter Davis wrote in post #1023809:
>
> What does the relationship look like between Course and Customer? Is
> there an Enrollment object sitting between them?
>
> One way might be to have a form_for @course on your Customers#index
> page, and a submission of that to the CoursesController would build a
> new Enrollment for each submitted Customer on that Course.
>
> Walter

Hi Walter,
Thank you for your response.

There is no direct releationship between customers and course tables.

Could you please be more specific in regard to:
> One way might be to have a form_for @course on your Customers#index
> page, and a submission of that to the CoursesController would build a
> new Enrollment for each submitted Customer on that Course.

I just want to display all customers for a selection (checkbox style).

Thanks
Dani

-- 
Posted via http://www.ruby-forum.com/.

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