Dynamically add and remove nested has_many association fields in a Ruby on Rails form