I am trying to save a message model in Emberjs. I am using the JSONAPIAdapter and JSONAPISerilzier.
My post to rails hits the right controller and action as a post, but if I look inside with Pry, the data attributes are not there. My payload:
{"data":{"attributes":{"body":"Why","user_id":"17"},"relationships":{"user":{"data":null},"conversation":{"data":null}},"type":"messages"}}
Content-Type:application/vnd.api+json
Rails params in the Rails console:
{"format"=>"json", "controller"=>"api/v1/messages", "action"=>"create"}