提交 6feb2aa6 编写于 作者: R Rafael Mendonça França

Merge pull request #16197 from cgriego/patch-1

Remove unused 1:1 association :remote option
......@@ -3,7 +3,7 @@
module ActiveRecord::Associations::Builder
class SingularAssociation < Association #:nodoc:
def valid_options
super + [:remote, :dependent, :primary_key, :inverse_of, :required]
super + [:dependent, :primary_key, :inverse_of, :required]
end
def self.define_accessors(model, reflection)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册