is it possible to pass a model-attribute of the collection to the select-options class?
<%= f.collection_select :bank_connection_id, BankConnection.all, :id, :bank_name, {:class => ? } %>
The Questmark shows where i wanted to use a attribute of the BankConnection. The attribute is named customer_id.
Background of this: I want to use the chained plugin for rails and therefore i must set the class to the specific customer-id.
Thanks for your help.
Tobias