diff options
author | Alex Myers <alex.myers@enspiresoftware.com> | 2015-10-27 21:05:22 -0400 |
---|---|---|
committer | Alex Myers <alex.myers@enspiresoftware.com> | 2015-10-27 21:05:22 -0400 |
commit | 26f2447252176e347091a04b26942b61e121f740 (patch) | |
tree | 8b71161c55db066c7deb2c14d476a6f6375c728b /activerecord | |
parent | 0ef2256c4a7635e78126cce4aa2c7467d2fb414f (diff) | |
download | rails-26f2447252176e347091a04b26942b61e121f740.tar.gz rails-26f2447252176e347091a04b26942b61e121f740.tar.bz2 rails-26f2447252176e347091a04b26942b61e121f740.zip |
Fix Typo in EagerLoadPolymorphicError [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/associations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index d4f079e346..b806a2f832 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -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 |