mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #38912 from kamipo/nodoc_association_relation
Do not expose association relation in the API doc [ci skip]
This commit is contained in:
commit
9176c362a6
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module ActiveRecord
|
||||
class AssociationRelation < Relation
|
||||
class AssociationRelation < Relation # :nodoc:
|
||||
def initialize(klass, association, **)
|
||||
super(klass)
|
||||
@association = association
|
||||
|
|
|
@ -920,7 +920,7 @@ module ActiveRecord
|
|||
!!@association.include?(record)
|
||||
end
|
||||
|
||||
def proxy_association
|
||||
def proxy_association # :nodoc:
|
||||
@association
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue