Reputation: 2520
Is this possible to create several select boxes in Rails with the same options? And then create an object based on those selected values?
For example:
Upvotes: 0
Views: 42
Reputation: 5633
Is it possible? Yes, but such usage is dependent on your application and why you'd want to use it in the first place. Also, in order to use something like this, you have to ensure that the select fields don't have the same name, otherwise one would override the other.
Upvotes: 1