```ruby 
puts "modifying #{User.last.id} records" 
User.all.find_each do |user|
   puts user.id  if  user.id%100 == 0
   ...

```

find_each : takes User table in chunks
% : gives some feedback so you know connection hasn't hung