Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 545 Bytes


  • Added scopes to :as options. This adds Class.as_name, which automatically restricts the SELECT to encodable attributes ONLY.


  • Added support for :as in attr_encodable calls, allowing you to create custom default encoding groups. See 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.
Jump to Line
Something went wrong with that request. Please try again.