Sha256: 1d5fef5e66565554f86ac7a5ee88f1dcb8e94e73eb08a4ad70407c80093fd834

Contents?: true

Size: 591 Bytes

Versions: 10

Compression:

Stored size: 591 Bytes

Contents

module ErpTechSvcs
  class Engine < Rails::Engine
    config.erp_tech_svcs = ErpTechSvcs::Config

    isolate_namespace ErpTechSvcs
	
	  ActiveSupport.on_load(:active_record) do
      include ErpTechSvcs::Extensions::ActiveRecord::HasRoles
      include ErpTechSvcs::Extensions::ActiveRecord::HasFileAssets
      include ErpTechSvcs::Extensions::ActiveRecord::HasCapabilities
      include ErpTechSvcs::Extensions::ActiveRecord::HasRelationalDynamicAttributes
    end

    engine = self
    config.to_prepare do
      ErpBaseErpSvcs.register_compass_ae_engine(engine)
    end
    
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
erp_tech_svcs-3.0.10 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.0.9 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.0.8 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.0.7 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.0.6 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.0.5 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.0.4 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.0.3 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.0.2 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.0.1 lib/erp_tech_svcs/engine.rb