ref: master
vendor/plugins/xss_terminate/test/models/entry.rb
1 2 3 4 5 6 7
# Rails HTML sanitization on some fields class Entry < ActiveRecord::Base belongs_to :person has_many :comments xss_terminate :sanitize => [:body, :extended] end