Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
XML parameters parser for Action Pack (removed from core in Rails 4.0)
Ruby
branch: master

Merge pull request #5 from richrace/update-docs

Update README.md [ci skip]
latest commit 284bc64012
Zachary Scott zzak authored
Failed to load latest commit information.
gemfiles Test against master
lib Added restoring request.body to same state before reading it
test
.gitignore Test against master
.travis.yml
Gemfile Update dependency, remove Git source
LICENSE Extract XmlParamsParser out from Action Pack
README.md Update README.md
Rakefile Extract XmlParamsParser out from Action Pack
actionpack-xml_parser.gemspec Test against master

README.md

actionpack-xml_parser

A XML parameters parser for Action Pack (removed from core in Rails 4.0)

Installation

Include this gem into your Gemfile:

gem 'actionpack-xml_parser'

Then, add ActionDispatch::XmlParamsParser middleware after ActionDispatch::ParamsParser in config/application.rb:

config.middleware.insert_after ActionDispatch::ParamsParser, ActionDispatch::XmlParamsParser

You may need to require the ActionDispatch::XmlParamsParser manually. Add the following in your config/application.rb:

require 'action_dispatch/xml_params_parser'
Something went wrong with that request. Please try again.