diff options
author | Starfall <us@starfall.systems> | 2020-12-07 10:11:37 -0600 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2020-12-07 10:11:37 -0600 |
commit | e68391fbaaf409cc01f74c8cf7076520a43ae06e (patch) | |
tree | 212b6e373f91dec2dce0b2c33b0cb38b4c6087f0 /app/models/form | |
parent | 0f6d41052652c4fee87a19900795c8588d9a2174 (diff) | |
parent | 48bef17cc990afda95c4de657f7643c321e62650 (diff) |
Merge remote-tracking branch 'vanilla/master' into main
Diffstat (limited to 'app/models/form')
-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 |