Creating a new record via rails collection_select 4

I am new to ROR and I want to create a new entry from collection_select if the existing collection does not have the required entry I tried this solution but it does not work for me Rails' collection_select helper method and "Create item" option at the end Maybe I need add something to my controller create method.

+3


source to share





All Articles