Forum: Ruby on Rails related collection selects eliminating prior selections

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Philly Cheez (Guest)
on 2007-03-30 03:07
I have seen the plugin for related collection selects and I don't it can
help with this one. Here is the example:

In table "painting" I have among others, 3 fields called colorID1,
colorID2, colorID3.....

There is another table called colors with -name- and -id- fields.
I want 3 drop-down menus

The same color cannot be chosen twice.
red, green, orange=====> legal
blue, magenta, blue ===============>not legal

All I want is 3 collection selects that
once something is chosen, eliminates it from the other two lists.

How is this done? And yes i am a noob.
This topic is locked and can not be replied to.