Sha256: acd4d903f1a05319a452112250721493154c097bd6b1950504ec6dc474a92805

Contents?: true

Size: 223 Bytes

Versions: 10

Compression:

Stored size: 223 Bytes

Contents

module Valhammer
  class Railtie < ::Rails::Railtie
    initializer 'valhammer.install' do
      ActiveSupport.on_load(:active_record) do
        ActiveRecord::Base.extend Valhammer::Validations
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
valhammer-1.1.0 lib/valhammer/railtie.rb
valhammer-1.0.0 lib/valhammer/railtie.rb
valhammer-0.3.1 lib/valhammer/railtie.rb
valhammer-0.2.2 lib/valhammer/railtie.rb
valhammer-0.2.1 lib/valhammer/railtie.rb
valhammer-0.2.0 lib/valhammer/railtie.rb
valhammer-0.1.3 lib/valhammer/railtie.rb
valhammer-0.1.2 lib/valhammer/railtie.rb
valhammer-0.1.1 lib/valhammer/railtie.rb
valhammer-0.1.0 lib/valhammer/railtie.rb