Sha256: 0d60a73cff8086fb7deefc48070e4ffe201246fd914626f7c7c33092fbd70a22
Contents?: true
Size: 672 Bytes
Versions: 11
Compression:
Stored size: 672 Bytes
Contents
module EffectiveProducts class Engine < ::Rails::Engine engine_name 'effective_products' # Set up our default configuration options. initializer 'effective_products.defaults', before: :load_config_initializers do |app| eval File.read("#{config.root}/config/effective_products.rb") end # Include acts_as_addressable concern and allow any ActiveRecord object to call it initializer 'effective_products.active_record' do |app| ActiveSupport.on_load :active_record do ActiveRecord::Base.extend(EffectiveProductsRingWizard::Base) ActiveRecord::Base.extend(EffectiveProductsStampWizard::Base) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems