Sha256: b9a77758ea6afe4fb5e11290d3f40b526372d104b2c804a109b9bfc1b7b00b33

Contents?: true

Size: 268 Bytes

Versions: 3

Compression:

Stored size: 268 Bytes

Contents

# frozen_string_literal: true

module LightweightAttributes
  class Railtie < ::Rails::Railtie
    initializer 'lightweight_attributes' do
      ActiveSupport.on_load :active_record do
        extend LightweightAttributes::BaseClassMethods
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lightweight_attributes-0.2.0 lib/lightweight_attributes/railtie.rb
lightweight_attributes-0.1.1 lib/lightweight_attributes/railtie.rb
lightweight_attributes-0.1.0 lib/lightweight_attributes/railtie.rb