I am struggling on how to write the following controller action as one line. I am having a hard time figuring out how to research the answer or even the correct terminology as I am new to Rails and Ruby. How do I write the following as one line?
Response.create(params[:response].values)
Response.create(:responseset_id => @responseset.id)
Response.create(params[:response].merge({:responseset_id => @responseset.id})answer following feedback: