On 10/6/05, Hunter Peress
<hperess-hceJc2YFNylFcjXmduoLkw@public.gmane.org>
wrote:> im using a <select multiple> box where all the many-many values
> (which are stored in a join table eg table1_table2) can be changed.
>
> is there a clean and simple helper to delete the records that are
> excluded from the box,
> keep the ones that are there, and add new ones.
I don''t know of any that work with a single select box. However, the
habtm scaffolding on
http://wiki.rubyonrails.com/rails/pages/HowToExtendScaffolding does
something similar with two select boxes. You may want to look at the
code on that page and adapt it to work with a single select box.