Sha256: 6f69b656784236b4508c80e37b3dc0cb07e3c3fdb2f1d7f2eca04cec8969a79b

Contents?: true

Size: 313 Bytes

Versions: 4

Compression:

Stored size: 313 Bytes

Contents

require "sanitization/version"
require "sanitization/configuration"
require "sanitization/active_record_extension"
require "active_record" unless defined?(ActiveRecord)

module Sanitization
  class Error < StandardError; end
end

ActiveRecord::Base.class_eval do
  include Sanitization::ActiveRecordExtension
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sanitization-1.1.3 lib/sanitization.rb
sanitization-1.1.2 lib/sanitization.rb
sanitization-1.1.1 lib/sanitization.rb
sanitization-1.1.0 lib/sanitization.rb