1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

docs, ActiveRecord::JoinDependency is not part of the public API.

[ci skip]

While `JoinDependency` and `JoinDependency::Aliases` were nodoced, the
inner `Table` class made them appear in the API.
This commit is contained in:
Yves Senn 2015-11-07 12:37:03 -05:00
parent 80f710cc04
commit 3aa5f2c203

View file

@ -32,7 +32,7 @@ module ActiveRecord
@alias_cache[node][column]
end
class Table < Struct.new(:node, :columns)
class Table < Struct.new(:node, :columns) # :nodoc:
def table
Arel::Nodes::TableAlias.new node.table, node.aliased_table_name
end