jnunemaker/httparty — pull request #117 by TildeWill (2012-01-11 00:14:14+00:00)
Title: Make initializer param optional to facilitate AR serialization

When creating a model like the one shown below, ActiveRecord wants to initialize a new object without sending a value to the initializer. Then, when one needs to set the value of the headers, an initializer that takes an argument is needed, making this argument optional seemed like the best solution.

```ruby
require 'httparty'

class Whurl < ActiveRecord::Base
serialize :request_headers, ::HTTParty::Response::Headers
...
end
```