aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-08-02 22:15:25 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-08-02 22:15:25 -0300
commitf57cd78a738e1c8cf5a932686e67cd72fdbef301 (patch)
treea81891cef5cde8994c295bf0aa3a84065a21ceb2 /activerecord
parent78ca462f78c56a5ebdc70742b4313be8cd32eb02 (diff)
parenteb9816831367f709e190b385717814b5d985fbc9 (diff)
downloadrails-f57cd78a738e1c8cf5a932686e67cd72fdbef301.tar.gz
rails-f57cd78a738e1c8cf5a932686e67cd72fdbef301.tar.bz2
rails-f57cd78a738e1c8cf5a932686e67cd72fdbef301.zip
Merge pull request #16378 from JackDanger/doc-fix-in-join-association-build_constraint
[doc] updating documented parameter for build_constraint
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/associations/join_dependency/join_association.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/join_dependency/join_association.rb b/activerecord/lib/active_record/associations/join_dependency/join_association.rb
index a9d1099871..c3bbdccad8 100644
--- a/activerecord/lib/active_record/associations/join_dependency/join_association.rb
+++ b/activerecord/lib/active_record/associations/join_dependency/join_association.rb
@@ -90,7 +90,7 @@ module ActiveRecord
# 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" ...>