entry.rb 171 Bytes Edit Raw Blame History Permalink 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