Sha256: 6ad66b8deb723e629c2c4855c289932b57acb6720abd12eaa8198eda73199ead

Contents?: true

Size: 638 Bytes

Versions: 4

Compression:

Stored size: 638 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::HasSecurityRoles
      include ErpTechSvcs::Extensions::ActiveRecord::HasFileAssets
      include ErpTechSvcs::Extensions::ActiveRecord::ProtectedByCapabilities
      include ErpTechSvcs::Extensions::ActiveRecord::HasCapabilityAccessors
      include ErpTechSvcs::Extensions::ActiveRecord::HasRelationalDynamicAttributes
    end

    ErpBaseErpSvcs.register_as_compass_ae_engine(config, self)
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
erp_tech_svcs-3.1.8 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.1.7 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.1.5 lib/erp_tech_svcs/engine.rb
erp_tech_svcs-3.1.4 lib/erp_tech_svcs/engine.rb