提交 a4c640ac 编写于 作者: A Akira Matsuda

AR::ConnectionAdapters::PostgreSQL::Name#parts is called from other instances

上级 87ec7009
......@@ -34,6 +34,12 @@ def hash
parts.hash
end
protected
def parts
@parts ||= [@schema, @identifier].compact
end
private
def unquote(part)
if part && part.start_with?('"')
......@@ -42,10 +48,6 @@ def unquote(part)
part
end
end
def parts
@parts ||= [@schema, @identifier].compact
end
end
module Utils # :nodoc:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册