mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 04:58:29 +02:00
Foxed codeclimate issue
This commit is contained in:
parent
7db8b5d970
commit
e68039902d
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ module Repp
|
|||
SQL
|
||||
|
||||
ActiveRecord::Base.connection.execute(
|
||||
ActiveRecord::Base.send(:sanitize_sql_array, [sql, date_to: date_to])
|
||||
ActiveRecord::Base.send(:sanitize_sql_array, [sql, { date_to: date_to }])
|
||||
).each_with_object({}) do |row, hash|
|
||||
hash[row['registrar_id']] = row['total_domain_count'].to_i
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue