1
0
Fork 0
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:
Rafael França 2015-10-27 23:15:42 -02:00
commit a887676004

View file

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