]> git.openstreetmap.org Git - rails.git/blob - lib/tasks/subscribe_old_changesets.rb
Bump autoprefixer-rails from 10.0.1.1 to 10.0.1.2
[rails.git] / lib / tasks / subscribe_old_changesets.rb
1 namespace :db do
2   task :subscribe_old_changesets => :environment do
3     Changeset.find_each do |changeset|
4       changeset.subscribers << changeset.user unless changeset.subscribers.exists?(changeset.user.id)
5     end
6   end
7 end