Files
fizzy/script/fill_account_closure_reasons.rb
T
2025-04-09 14:50:58 +02:00

10 lines
203 B
Ruby
Executable File

#!/usr/bin/env ruby
require_relative "../config/environment"
ApplicationRecord.with_each_tenant do |tenant|
Account.find_each do |account|
account.send(:create_default_closure_reasons)
end
end