I need to have a view able to update an array attribute on a model such that I can dynamically add things on the view to be able to add this. Does that even make sense?
Basically a Foo has urls. So in the DB I just have a text datatype that I want to store the comma separated list of urls, and I override the default AR setter and getter so I can assign an array, and get an array for the values and it takes care of the joining and splitting.
What I'm lost at is how best to do the view. I need one text field initially, but then a 'add another url' link to tack on another text field for another url, and another, etc, etc.
Is there a 'rails way' to do this, or do I have to roll my own?