Last active
July 16, 2020 13:27
-
-
Save nik-holo/6a19eb69bc0a66726442d13ade9591a1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tasks = ::Task::Base.where(title: 'Reply to message', created_at_from: '2020-01-01', created_at_to: '2020-07-10').to_a | |
puts "==== TASKS BATCH SIZE: #{tasks.size}" | |
arr = tasks.map(&:parent_guid).join(', ') | |
puts arr | |
puts '====== DONE' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment