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