# File lib/seed_dump/dump_methods/enumeration.rb, line 56 def batch_params_from(records, options) batch_size = batch_size_from(records, options) count = records.count remainder = count % batch_size [((count.to_f / batch_size).ceil), batch_size, (remainder == 0 ? batch_size : remainder)] end