Method: ModelIterator#update_current_id

Defined in:
lib/model_iterator.rb

#update_current_id(record) ⇒ Object

Updates the current ID for the given record.

record - A single record from the iteration.

Returns nothing.



232
233
234
# File 'lib/model_iterator.rb', line 232

def update_current_id(record)
  @current_id = record.send(@id_field)
end