@report.images.build(params[:first_image])
@report.images.build(params[:second_image])
If you want to find out more about this, then see: http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#M000642
@report.images.build(params[:first_image])
@report.images.build(params[:second_image])
If you want to find out more about this, then see: http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#M000642