mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 04:38:47 +08:00
DEV: move send => public_send in lib folder
This handles most of the cases in `lib` where we were using send instead of public_send
This commit is contained in:
@ -2,7 +2,7 @@ class Auth::AuthProvider
|
||||
include ActiveModel::Serialization
|
||||
|
||||
def initialize(params = {})
|
||||
params.each { |key, value| send "#{key}=", value }
|
||||
params.each { |key, value| public_send "#{key}=", value }
|
||||
end
|
||||
|
||||
def self.auth_attributes
|
||||
|
Reference in New Issue
Block a user