I am trying to create a form to add a transporter: I have app/views/transporters/new.html.erb that calls a template,app/views/_form.html.erb that looks like:
<
use
@transporter = Transporter.new(params[:transporter])
or
@transporter = Transporter.new(params["transporter"])
check my last comment to save it.
You just create a new object with your params from the form in your create action, but you don't save it. add @transporter.save to your create action.