mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
If it respond_to? a method, the method should be public_sendable
This commit is contained in:
parent
4e9a4519b7
commit
aa050bf2db
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ module ActiveSupport
|
|||
initializer "active_support.set_configs" do |app|
|
||||
app.config.active_support.each do |k, v|
|
||||
k = "#{k}="
|
||||
ActiveSupport.send(k, v) if ActiveSupport.respond_to? k
|
||||
ActiveSupport.public_send(k, v) if ActiveSupport.respond_to? k
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue