Sha256: 040476e6360e13830166ee2e4d47685b74b7a526ea00482f3d4686ecc95e4a49

Contents?: true

Size: 439 Bytes

Versions: 4

Compression:

Stored size: 439 Bytes

Contents

module ErpRules
  require "erp_base_erp_svcs"
  class Engine < Rails::Engine
    isolate_namespace ErpRules

    ActiveSupport.on_load :active_record do
      include ErpRules::Extensions::ActiveRecord::HasRuleContext
      include ErpRules::Extensions::ActiveRecord::ActsAsBusinessRule
      include ErpRules::Extensions::ActiveRecord::ActsAsSearchFilter
    end

    ErpBaseErpSvcs.register_as_compass_ae_engine(config, self)

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
erp_rules-4.2.0 lib/erp_rules/engine.rb
erp_rules-4.0.0 lib/erp_rules/engine.rb
erp_rules-3.1.0 lib/erp_rules/engine.rb
erp_rules-3.0.4 lib/erp_rules/engine.rb