Module: ErpForms

Defined in:
lib/erp_forms.rb,
lib/erp_forms/engine.rb,
lib/erp_forms/version.rb,
app/helpers/erp_forms/application_helper.rb,
lib/erp_forms/extensions/active_record/has_dynamic_data.rb,
lib/erp_forms/extensions/active_record/has_dynamic_forms.rb,
lib/erp_forms/extensions/active_record/acts_as_commentable.rb,
lib/erp_forms/extensions/active_record/acts_as_dynamic_form_model.rb

Defined Under Namespace

Modules: ApplicationHelper, Extensions, VERSION Classes: Engine

Class Method Summary collapse

Class Method Details

.use_solr?Boolean

Returns:

  • (Boolean)

17
18
19
# File 'lib/erp_forms.rb', line 17

def self.use_solr?
  ErpBaseErpSvcs.engine_loaded?('ErpSearch') and ErpSearch::Config.use_solr_for_dynamic_form_models
end