Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
XML parameters parser for Action Pack (removed from core in Rails 4.0)
Ruby
branch: 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.