-
-
Save jdx/4629884 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
count = 0 | |
AdminDevice.all.each do |admin_device| | |
device = Device.find(admin_device.udid) | |
unless device.try(:last_run_time_tester) | |
puts "'last_run_time_tester' was false: #{admin_device.description}" | |
count += 1 | |
end | |
end | |
puts "Total Admin Devices having last_run_time_tester set to false: #{count}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment