RubyGems.org

attr_encodable enables you to set up defaults for what is included or excluded when you serialize an ActiveRecord object. This is especially useful for protecting private attributes when building a public API.

installgem install attr_encodable
Authors

Flip Sasser

6,023 total downloads 1,109 for this version
Owners

047d3a337ecacf3c3b19f1ee844e8a72

Gemfile
gem 'attr_encodable', '~> 0.1.3'
Versions
  1. 0.1.3 October 24, 2012 (10.5 KB)
  2. 0.1.2 October 16, 2012 (10 KB)
  3. 0.1.1 October 16, 2012 (10 KB)
  4. 0.1.0 October 16, 2012 (8.5 KB)
  5. 0.0.6 July 15, 2011 (8.5 KB)
Show all versions (10 total)
Development Dependencies
  1. rspec >= 2.0