app/jobs/concerns/chorg/mongoid_support.rb
# exclude html field when cms form present
exclude html field when cms form present
exclude html field when cms form present
def skip_target_field?(entity, field_name)
    return false if field_name != "html"
    form = entity.try(:form)
    form.instance_of?(Cms::Form)
  end
def skip_target_field? ( entity , field_name ) return false if field_name != "html" form = entity . try ( :form ) form . instance_of? ( Cms :: Form ) end
exclude html field when cms form present
exclude html field when cms form present
entity
<not_specific>
field_name
<not_specific>