Skip to content

Instantly share code, notes, and snippets.

@cleytonmessias
Created September 9, 2015 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleytonmessias/281018f6ef14602f2d77 to your computer and use it in GitHub Desktop.
Save cleytonmessias/281018f6ef14602f2d77 to your computer and use it in GitHub Desktop.
method=POST path=/api/stores/796/orders format=json controller=api/v1/sales action=create status=500 error='NoMethodError:undefined method `merge' for ["id", "1304"]:Array' duration=5.61 user_agent='' fwd= user_id= params={"order_id"=>"101926", "delivery_date"=>"2015-08-31BRT13:03:24+00:00", "client"=>{"first_name"=>"Murilo", "last_name"=>nil, "email"=>"murilo@pxw.com.br"}, "items"=>{"name"=>"Sapato Masculino Kane", "id"=>"1304", "url"=>"https://www.sandromoscoloni.com.br/produtos/casual/lebron-colection/sapato-masculino-kane-latego-tan-40032-kane/", "price"=>"239.90"}, "format"=>:json, "store_id"=>"796", "sale"=>{"order_id"=>"101926", "delivery_date"=>"2015-08-31BRT13:03:24+00:00"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment