diff options
Diffstat (limited to 'app/models/form/account_batch.rb')
-rw-r--r-- | app/models/form/account_batch.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/form/account_batch.rb b/app/models/form/account_batch.rb index 882770d7c..26d6d3abf 100644 --- a/app/models/form/account_batch.rb +++ b/app/models/form/account_batch.rb @@ -51,7 +51,7 @@ class Form::AccountBatch end def account_domains - accounts.pluck(Arel.sql('distinct domain')).compact + accounts.group(:domain).pluck(:domain).compact end def accounts |