rails/rails — pull request #17132 by tamird (2014-10-01 17:42:25+00:00)
Title: `ActiveModel::Serializers::JSON#as_json` does deep `as_json`

This corrects a bug where `#as_json` on `ActiveModel`s with date fields
does not return a hash of primitives, as would be expected. That is,
prior to this change, `#as_json` would return a hash of Ruby objects
that do not all have direct corollaries in JSON.

cc @ryanhall07