cirandas.net

ref: master

vendor/plugins/xss_terminate/test/models/person.rb


1
2
3
4
5
# This model excepts HTML sanitization on the name
class Person < ActiveRecord::Base
  has_many :entries
  xss_terminate :except => [ :name ]
end