method

run_action_on_records

Importance_0
v8.1.1 - Show latest stable - 0 notes - Class: Transaction
run_action_on_records(records, instances_to_run_callbacks_on) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/transaction.rb, line 351
        def run_action_on_records(records, instances_to_run_callbacks_on)
          while record = records.shift
            should_run_callbacks = record.__id__ == instances_to_run_callbacks_on[record].__id__

            yield record, should_run_callbacks
          end
        end
Register or log in to add new notes.