aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorJack Danger Canty <jackdanger@squareup.com>2014-08-02 16:58:05 -0700
committerJack Danger Canty <jackdanger@squareup.com>2014-08-02 17:31:19 -0700
commiteb9816831367f709e190b385717814b5d985fbc9 (patch)
treef7261b5151d36ed644e9dc3a6df1495417f74965 /activerecord
parent68aea29cf5e5b856fdfa0b3087bf68cbd6310bd6 (diff)
downloadrails-eb9816831367f709e190b385717814b5d985fbc9.tar.gz
rails-eb9816831367f709e190b385717814b5d985fbc9.tar.bz2
rails-eb9816831367f709e190b385717814b5d985fbc9.zip
updating documented parameter for build_constraint
Updates documentation in line with changes made in 743b67508e2027e1d086142ccbec47a19fc943f6
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 719eff9acc..9dc447e4e4 100644
--- a/activerecord/lib/active_record/associations/join_dependency/join_association.rb
+++ b/activerecord/lib/active_record/associations/join_dependency/join_association.rb
@@ -95,7 +95,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" ...>