提交 a8876760 编写于 作者: R Rafael França

Merge pull request #22095 from ajmyers01/fix_typo_in_eager_load_polymorphic_error

Fix Typo in EagerLoadPolymorphicError [ci skip]
......@@ -149,7 +149,7 @@ class HasManyThroughNestedAssociationsAreReadonly < ThroughNestedAssociationsAre
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册