mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
DEV: Prefer public_send
over send
.
This commit is contained in:
@ -27,7 +27,7 @@ class Admin::UserFieldsController < Admin::AdminController
|
||||
|
||||
Admin::UserFieldsController.columns.each do |col|
|
||||
unless field_params[col].nil?
|
||||
field.send("#{col}=", field_params[col])
|
||||
field.public_send("#{col}=", field_params[col])
|
||||
end
|
||||
end
|
||||
update_options(field)
|
||||
|
Reference in New Issue
Block a user