apotonick/trailblazer — pull request #14 by BlackFoks (2014-11-07 04:23:08+00:00)
Title: Fix using raw body for js requests.

At the moment it uses raw body for all non-html requests. This breaks ajax forms (remote: true) because it replaces params[:model] with raw request body.

I suppose this should happen only for json requests.