Sha256: 71e4c22c86b4dd51909af30d84de4c7ac370ca423585f34ab69ca256d2fb8fe2

Contents?: true

Size: 259 Bytes

Versions: 11

Compression:

Stored size: 259 Bytes

Contents

# Extend ActiveRecord's methods
module ValidatesFormattingOf
  class Railtie < Rails::Railtie
    initializer 'validates_formatting_of.model_additions' do
      ActiveSupport.on_load :active_record do
        extend ModelAdditions
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
validates_formatting_of-0.7.2 lib/validates_formatting_of/railtie.rb
validates_formatting_of-0.7.1 lib/validates_formatting_of/railtie.rb
validates_formatting_of-0.7.0 lib/validates_formatting_of/railtie.rb
validates_formatting_of-0.6.9 lib/validates_formatting_of/railtie.rb
validates_formatting_of-0.6.2 lib/validates_formatting_of/railtie.rb
validates_formatting_of-0.6.1 lib/validates_formatting_of/railtie.rb
validates_formatting_of-0.6.0 lib/validates_formatting_of/railtie.rb
validates_formatting_of-0.5.0 lib/validates_formatting_of/railtie.rb
validates_formatting_of-0.4.1 lib/validates_formatting_of/railtie.rb
validates_formatting_of-0.4.0 lib/validates_formatting_of/railtie.rb
validates_formatting_of-0.3.7 lib/validates_formatting_of/railtie.rb