Sha256: 911b099028773685d5f8a56c60af0aef02dbb23dff8929ca37f201132c2fd9cf

Contents?: true

Size: 355 Bytes

Versions: 3

Compression:

Stored size: 355 Bytes

Contents

# frozen_string_literal: true
require "active_support"
require "active_support/concern"
require "active_record"

require "affairs_of_state/version"
require "affairs_of_state/config"
require "affairs_of_state/active_record_extension"

ActiveSupport.on_load(:active_record) do
  ::ActiveRecord::Base.send :include, AffairsOfState::ActiveRecordExtension
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
affairs_of_state-0.7.2 lib/affairs_of_state.rb
affairs_of_state-0.7.1 lib/affairs_of_state.rb
affairs_of_state-0.7.0 lib/affairs_of_state.rb