<%= form_for @associated_data, url: association_create_path, method: :post do |f| %>
<% (@associated_data.class.column_names - %w(id created_at updated_at serialized_options)).each do |associated_model_column| %>
<% end %>
<%= f.submit 'Save Changes', class:"btn btn-primary" %>
<% end %>