提交 e3962308 编写于 作者: R Rafael França 提交者: GitHub

Merge pull request #30209 from kamipo/remove_duplicated_table_name

Remove duplicated `table_name`
......@@ -1073,10 +1073,6 @@ def scope
@reflection.scope
end
def table_name
@reflection.table_name
end
def plural_name
@reflection.plural_name
end
......@@ -1112,10 +1108,6 @@ def klass
@association.klass
end
def table_name
klass.table_name
end
def constraints
@reflection.constraints
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册