Sha256: 2ba1228511d18afe562292287714cba44203a57d32620b123d46e0a83c731be3
Contents?: true
Size: 308 Bytes
Versions: 60
Compression:
Stored size: 308 Bytes
Contents
# -*- encoding : utf-8 -*- class CreateReferencesForSearchCards < Card::Migration::Core def up Card.where( type_id: Card::SearchTypeID ).find_each.with_index do |card, index| card.update_references_out puts "completed #{index} search cards" if index % 100 == 0 end end end
Version data entries
60 entries across 60 versions & 1 rubygems