mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #22095 from ajmyers01/fix_typo_in_eager_load_polymorphic_error
Fix Typo in EagerLoadPolymorphicError [ci skip]
This commit is contained in:
commit
a887676004
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ module ActiveRecord
|
|||
class HasOneThroughNestedAssociationsAreReadonly < ThroughNestedAssociationsAreReadonly #:nodoc:
|
||||
end
|
||||
|
||||
# This error is raised when trying to eager load a poloymorphic association using a JOIN.
|
||||
# This error is raised when trying to eager load a polymorphic association using a JOIN.
|
||||
# Eager loading polymorphic associations is only possible with
|
||||
# {ActiveRecord::Relation#preload}[rdoc-ref:QueryMethods#preload].
|
||||
class EagerLoadPolymorphicError < ActiveRecordError
|
||||
|
|
Loading…
Reference in a new issue