Thanks for this, I was getting mixed up about whether I had to do this with nestedattributesfor in Rails 4...
Thanks for this, I was getting mixed up about whether I had to do this with nestedattributesfor in Rails 4...