Sha256: 982eb3ff747fa09368b8a2a1121fc86ba96f20635ff799f86ab29a221c3171a6

Contents?: true

Size: 207 Bytes

Versions: 1

Compression:

Stored size: 207 Bytes

Contents

module Antivirus
  class Railtie < Rails::Railtie
    initializer 'antivirus' do
      ActiveSupport.on_load :active_record do
        ActiveRecord::Base.send :include, Validator
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
antivirus-0.0.2 lib/antivirus/railtie.rb