Skip to content

liguang2080/safe_active_record

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Safe ActiveRecord

 -----the Rails's XSS terminator
 -----CCNT Rails Team

# example:
# safe_attributes  escape_html all the string or text model column
# safe_attributes :except => [:name] escape_html all the string or text model column except the name
# safe_attributes :name do |attr|
#   "ms " + attr
# end h the name attribute and execute the block,return the block value

About

the xss terminator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages