Skip to content

Commit 9176c36

Browse files
authored
Merge pull request rails#38912 from kamipo/nodoc_association_relation
Do not expose association relation in the API doc [ci skip]
2 parents 3f32329 + 6795a24 commit 9176c36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

activerecord/lib/active_record/association_relation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
module ActiveRecord
4-
class AssociationRelation < Relation
4+
class AssociationRelation < Relation # :nodoc:
55
def initialize(klass, association, **)
66
super(klass)
77
@association = association

activerecord/lib/active_record/associations/collection_proxy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ def include?(record)
920920
!!@association.include?(record)
921921
end
922922

923-
def proxy_association
923+
def proxy_association # :nodoc:
924924
@association
925925
end
926926

0 commit comments

Comments
 (0)