aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2014-07-27 19:35:00 -0400
committereileencodes <eileencodes@gmail.com>2014-07-27 20:05:40 -0400
commitbd54e1956b939feb605d1f6c05d3e01943933c08 (patch)
treee4b8e91b896fb3015714b2e1106154a8eb45ea52 /activerecord/lib/active_record/associations
parent69133a4e00fe47210cac67c23bbd650b339dff25 (diff)
downloadrails-bd54e1956b939feb605d1f6c05d3e01943933c08.tar.gz
rails-bd54e1956b939feb605d1f6c05d3e01943933c08.tar.bz2
rails-bd54e1956b939feb605d1f6c05d3e01943933c08.zip
[ci skip] Fix documentation for @macro and reflection types
Since `@macro` doesn't exist anymore and these reflections are no longer AssociationReflections but their own types of reflections based on macro I updated the documentation to match the changes I made in #16089 and #16198. An `AssociationReflection` that had a `@macro` of `:has_many` now is a `HasManyReflection`
Diffstat (limited to 'activerecord/lib/active_record/associations')
-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 a0e83c0a02..719eff9acc 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::AssociationReflection @macro=:has_many ...>
+ # reflection # => #<ActiveRecord::Reflection::HasManyReflection ...>
# table # => #<Arel::Table @name="appointments" ...>
# key # => physician_id
# foreign_table # => #<Arel::Table @name="physicians" ...>