Sha256: c64fe42cff5db90a489234a829f01f070fd2c5b0e405a158b3d88d806792dc1b
Contents?: true
Size: 782 Bytes
Versions: 2
Compression:
Stored size: 782 Bytes
Contents
require 'dynamic_attributes' module ErpForms class Engine < Rails::Engine isolate_namespace ErpForms initializer "erp_forms.merge_public" do |app| app.middleware.insert_before Rack::Runtime, ::ActionDispatch::Static, "#{root}/public" end ActiveSupport.on_load(:active_record) do include ErpForms::Extensions::ActiveRecord::ActsAsDynamicFormModel include ErpForms::Extensions::ActiveRecord::HasDynamicData include ErpForms::Extensions::ActiveRecord::HasDynamicForms include ErpForms::Extensions::ActiveRecord::ActsAsCommentable end ErpBaseErpSvcs.register_as_compass_ae_engine(config, self) config.to_prepare do #dynamic_attributes patch require "erp_forms/dynamic_attributes_patch" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
erp_forms-3.1.2 | lib/erp_forms/engine.rb |
erp_forms-3.1.1 | lib/erp_forms/engine.rb |