提交 9975d533 编写于 作者: J Jon Leighton

Merge pull request #5258 from guilleiguaran/amo-model

Use public_send instead of send in ActiveModel::Model initialize
......@@ -65,7 +65,7 @@ def self.included(base)
def initialize(params={})
params.each do |attr, value|
self.send("#{attr}=", value)
self.public_send("#{attr}=", value)
end if params
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册