Initial commit
This commit is contained in:
9
lib/tasks/accounts.rake
Normal file
9
lib/tasks/accounts.rake
Normal file
@@ -0,0 +1,9 @@
|
||||
# encoding: UTF-8
|
||||
# frozen_string_literal: true
|
||||
|
||||
namespace :accounts do
|
||||
desc 'Create missing accounts for existing members.'
|
||||
task touch: :environment do
|
||||
Member.find_each(&:touch_accounts)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user