Sha256: ebe7843fedaa8ba95f3a3a3c024df99cc3658fbac4614a34b43a48749d3d948d
Contents?: true
Size: 658 Bytes
Versions: 1
Compression:
Stored size: 658 Bytes
Contents
module EffectiveDeveloper class Engine < ::Rails::Engine engine_name 'effective_developer' # Set up our default configuration options. initializer 'effective_developer.defaults', before: :load_config_initializers do |app| # Set up our defaults, as per our initializer template eval File.read("#{config.root}/config/effective_developer.rb") end # Include acts_as_addressable concern and allow any ActiveRecord object to call it initializer 'effective_developer.effective_resources' do |app| ActiveSupport.on_load :effective_resource do #Effective::Migrator.new(self).migrate! end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
effective_developer-0.4.1 | lib/effective_developer/engine.rb |