Sha256: 3fd3cb97875632dfee7fd1385a2f2b755e9625e370de26db48280ddc5cceaddd

Contents?: true

Size: 216 Bytes

Versions: 23

Compression:

Stored size: 216 Bytes

Contents

# frozen_string_literal: true
module MoneyColumn
  class Railtie < Rails::Railtie
    ActiveSupport.on_load :active_record do
      ActiveRecord::Base.send(:include, MoneyColumn::ActiveRecordHooks)
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
shopify-money-3.0.0 lib/money_column/railtie.rb
shopify-money-2.2.2 lib/money_column/railtie.rb
shopify-money-2.2.1 lib/money_column/railtie.rb
shopify-money-2.2.0 lib/money_column/railtie.rb
shopify-money-2.0.0 lib/money_column/railtie.rb
shopify-money-1.3.0 lib/money_column/railtie.rb
shopify-money-1.2.1 lib/money_column/railtie.rb
shopify-money-1.2.0 lib/money_column/railtie.rb
shopify-money-1.1.2 lib/money_column/railtie.rb
shopify-money-1.1.1 lib/money_column/railtie.rb
shopify-money-1.1.0 lib/money_column/railtie.rb
shopify-money-1.0.2.pre lib/money_column/railtie.rb
shopify-money-1.0.1.pre lib/money_column/railtie.rb
shopify-money-1.0.0.pre lib/money_column/railtie.rb
shopify-money-0.16.0 lib/money_column/railtie.rb
shopify-money-0.15.0 lib/money_column/railtie.rb
shopify-money-0.14.8 lib/money_column/railtie.rb
shopify-money-0.14.7 lib/money_column/railtie.rb
shopify-money-0.14.6 lib/money_column/railtie.rb
shopify-money-0.14.5 lib/money_column/railtie.rb