RubyGems.org

This is a simple plugin for ActiveRecord models to define sanitizable attributes. When an object is saved, those attributes will be run through whatever filter you’ve defined. You can define a default filter for all sanitizations.

installgem install sanitize_attributes
Authors

Dev Purkayastha, Paul McMahon

4,795 total downloads 4,795 for this version
Owners

Acf8abbde581397bc094066b06fbcb8a

Gemfile
gem 'sanitize_attributes', '~> 0.0.2'
Versions
  1. 0.0.2 November 26, 2011 (8 KB)
Runtime Dependencies
  1. rails >= 3.0.0