Sha256: f1121cbddae1975136d6a82cb273d2cd89267ad76c2c9b59f8d9bcba9de450cd

Contents?: true

Size: 276 Bytes

Versions: 1

Compression:

Stored size: 276 Bytes

Contents

require "sanitization/version"
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

1 entries across 1 versions & 1 rubygems

Version Path
sanitization-1.0.2 lib/sanitization.rb