Sha256: 054ed9b5bb1de09e962335570e8b992a4f867fe77d5fc07eb723a2343f687075

Contents?: true

Size: 280 Bytes

Versions: 9

Compression:

Stored size: 280 Bytes

Contents

require 'attribute_enums/active_record_extension'

module AttributeEnums
  class Railtie < ::Rails::Railtie
    initializer 'attribute_enums' do |app|
      ActiveSupport.on_load :active_record do
        include AttributeEnums::ActiveRecordExtension
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
attribute_enums-0.1.8 lib/attribute_enums/railtie.rb
attribute_enums-0.1.7 lib/attribute_enums/railtie.rb
attribute_enums-0.1.6 lib/attribute_enums/railtie.rb
attribute_enums-0.1.5 lib/attribute_enums/railtie.rb
attribute_enums-0.1.4 lib/attribute_enums/railtie.rb
attribute_enums-0.1.3 lib/attribute_enums/railtie.rb
attribute_enums-0.1.2 lib/attribute_enums/railtie.rb
attribute_enums-0.1.1 lib/attribute_enums/railtie.rb
attribute_enums-0.1.0 lib/attribute_enums/railtie.rb