Permalink
Browse files

Merge pull request #16378 from JackDanger/doc-fix-in-join-association…

…-build_constraint

[doc] updating documented parameter for build_constraint
  • Loading branch information...
2 parents 78ca462 + eb98168 commit f57cd78a738e1c8cf5a932686e67cd72fdbef301 @rafaelfranca rafaelfranca committed Aug 3, 2014
@@ -90,7 +90,7 @@ def join_constraints(foreign_table, foreign_klass, node, join_type, tables, scop
# end
#
# If I execute `Physician.joins(:appointments).to_a` then
- # reflection # => #<ActiveRecord::Reflection::HasManyReflection ...>
+ # klass # => Physician
# table # => #<Arel::Table @name="appointments" ...>
# key # => physician_id
# foreign_table # => #<Arel::Table @name="physicians" ...>

0 comments on commit f57cd78

Please sign in to comment.