Module: Tramway::Core::ExtendableFormsHelpers::Submit::ObjectHelpers

Defined in:
app/forms/tramway/core/extendable_forms_helpers/submit/object_helpers.rb

Instance Method Summary collapse

Instance Method Details

#extended(simple_properties, more_properties, params) ⇒ Object



4
5
6
# File 'app/forms/tramway/core/extendable_forms_helpers/submit/object_helpers.rb', line 4

def extended(simple_properties, more_properties, params)
  params.except(*simple_properties.keys).except(*jsonb_ignored_properties(more_properties)).permit!.to_h
end