mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Prefer public_send over send.
This commit is contained in:
@@ -19,7 +19,7 @@ class MiniSqlMultisiteConnection < MiniSql::Postgres::Connection
|
||||
class ParamEncoder
|
||||
def encode(*sql_array)
|
||||
# use active record to avoid any discrepencies
|
||||
ActiveRecord::Base.send(:sanitize_sql_array, sql_array)
|
||||
ActiveRecord::Base.public_send(:sanitize_sql_array, sql_array)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user