1
0
Fork 0
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:
Ryuta Kamizono 2020-04-12 03:27:48 +09:00 committed by GitHub
commit 9176c362a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -920,7 +920,7 @@ module ActiveRecord
!!@association.include?(record)
end
def proxy_association
def proxy_association # :nodoc:
@association
end