Hi every body,

I'am using active scaffold field_override with an
has_and_belongs_to_many association like this:
has_and_belongs_to_many :services
has_and_belongs_to_many :offres

In my offres view i have: _services_form_column in which i have
<dl>
        <dt>
                <label>Services</label>
        </dt>
        <dd>
                <%= collection_select(:record, :services, Service.find
(:all, :order=>"libService"), :id, :libService,
                                                  {:prompt => "Sélectionner les 
services"},
{:multiple=>true, :size=>5})%>

        </dd>
</dl>

But when i  try to update an offre, there is no service selected while
i had selected services in create view and they appear on my list.

Can someone help me to make me know how i can solve this problem.
Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to