mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 13:06:18 +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
|
SQL
|
||||||
|
|
||||||
ActiveRecord::Base.connection.execute(
|
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|
|
).each_with_object({}) do |row, hash|
|
||||||
hash[row['registrar_id']] = row['total_domain_count'].to_i
|
hash[row['registrar_id']] = row['total_domain_count'].to_i
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue