Sha256: bc4fbe8ce8bebd2a84a43a790d4c3bd16f1f1d74eb7f78f8ba105a0a42c94f4e

Contents?: true

Size: 171 Bytes

Versions: 7

Compression:

Stored size: 171 Bytes

Contents

# Rails HTML sanitization on some fields
class Entry < ActiveRecord::Base
  belongs_to :person
  has_many :comments
  
  xss_terminate :sanitize => [:body, :extended]
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
adva-0.1.4 vendor/gems/xss_terminate/test/models/entry.rb
adva-0.1.3 vendor/gems/xss_terminate/test/models/entry.rb
adva-0.1.2 vendor/gems/xss_terminate/test/models/entry.rb
adva-0.1.1 vendor/gems/xss_terminate/test/models/entry.rb
adva-0.1.0 vendor/gems/xss_terminate/test/models/entry.rb
adva_cms-0.0.1 vendor/gems/xss_terminate/test/models/entry.rb
adva-0.0.1 adva_cms/vendor/gems/xss_terminate/test/models/entry.rb