lib/active_scaffold/actions/batch_create.rb
# in case of an error we have to prepare @record object to have assigned all
# defined batch_update values, however, do not set those ones with an override
# these ones will manage on their own
in case of an error we have to prepare @record object to have assigned all
defined batch_update values, however, do not set those ones with an override
these ones will manage on their own
in case of an error we have to prepare @record object to have assigned all defined batch_update values however do not set those ones with an override these ones will manage on their own
def prepare_error_record
      do_new
      batch_create_values.each do |attribute, value|
        form_ui = colunm_form_ui(value[:column])
        set_record_attribute(value[:column], attribute, value[:value]) unless form_ui && override_batch_create_value?(form_ui)
      end
    end
def prepare_error_record do_new batch_create_values . each do | attribute , value | form_ui = colunm_form_ui ( value [ :column ] ) set_record_attribute ( value [ :column ] , attribute , value [ :value ] ) unless form_ui && override_batch_create_value? ( form_ui ) end end
in case of an error we have to prepare @record object to have assigned all
defined batch_update values, however, do not set those ones with an override
these ones will manage on their own
in case of an error we have to prepare @record object to have assigned all defined batch_update values however do not set those ones with an override these ones will manage on their own