Vote count: 0
I need to do something similar to the gif example I'm posting. I'm using simple form and I have seen tons of examples on how to add associated objects, but the catch is that the array that I want to get in the controller "entries" is not an association, nor a property. I just need to receive something like this in the controller:
{:entries=>["first", "second", "third"]}
Any clue/blog post or anything? I'm completely lost!
asked 29 secs ago
How to accept multiple objects as an array in simple_form without associated objects
Aucun commentaire:
Enregistrer un commentaire