Skip to content

ysbaddaden/acts_as_sanitize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ActsAsSanitize
=============

This +acts_as+ extension provides the capabilities of sanitizing model
attributes, in order to keep your database clean.

Example
=======

 class Post < ActiveRecord::Base
   acts_as_sanitize :title, :body, :on => :save
 end
 
The Post model will then sanitize the :title and :body columns on
before_save.

Copyright (c) 2010 Julien Portalier, released under the MIT license

About

Sanitizes user data within ActiveRecord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages