attr_serializable for whitelisting to_xml and to_json attributes
attr_serializable is a simple Rails plugin that makes it easy to set a whitelist of attributes for your models to use in their to_xml and to_json methods.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
attr_serializable is a simple Rails plugin that makes it easy to set a whitelist of attributes for your models to use in their to_xml and to_json methods.
Post a comment