- Added scopes to
:as
options. This adds Class.as_name, which automatically restricts the SELECT to encodable attributes ONLY.
- Added support for
:as
inattr_encodable
calls, allowing you to create custom default encoding groups. See README.md for more.
- Added support for
:only
to to_json, just like you'd expect. Now passing:only
will exclude all other whitelisted attributes and, as always, includes inline-support for:method
and:include
. - Removed accidental redis requirement from the Gemspec.