Sha256: cfa99be841f8f13517b47425290d9ff9bd0877b762f609f46a82e0cd307f6425
Contents?: true
Size: 602 Bytes
Versions: 3
Compression:
Stored size: 602 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) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
effective_products-0.0.5 | lib/effective_products/engine.rb |
effective_products-0.0.4 | lib/effective_products/engine.rb |
effective_products-0.0.3 | lib/effective_products/engine.rb |