From 39c6086d5b347d11214e5c238948a7221b8a8f9e Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Sat, 1 Aug 2020 15:25:12 -0500 Subject: [Bug] Remove & from includes --- app/lib/command_tag/command/status_tools.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lib/command_tag') diff --git a/app/lib/command_tag/command/status_tools.rb b/app/lib/command_tag/command/status_tools.rb index 1f3b2d321..daa44601b 100644 --- a/app/lib/command_tag/command/status_tools.rb +++ b/app/lib/command_tag/command/status_tools.rb @@ -67,7 +67,7 @@ module CommandTag::Command::StatusTools def address_to_list(list_name) return if list_name.blank? - list_accounts = ListAccount.joins(:list).where(lists: { account: @account }).where('LOWER(lists.title) = ?', list_name.mb_chars.downcase).includes(&:account).map(&:account) + list_accounts = ListAccount.joins(:list).where(lists: { account: @account }).where('LOWER(lists.title) = ?', list_name.mb_chars.downcase).includes(:account).map(&:account) list_accounts.each { |target_account| mention(target_account) } end end -- cgit