diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2015-10-27 23:15:42 -0200 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2015-10-27 23:15:42 -0200 |
commit | a8876760041fcdb657320a311bb275a20a4856e2 (patch) | |
tree | 8b71161c55db066c7deb2c14d476a6f6375c728b /activerecord/lib | |
parent | 0ef2256c4a7635e78126cce4aa2c7467d2fb414f (diff) | |
parent | 26f2447252176e347091a04b26942b61e121f740 (diff) | |
download | rails-a8876760041fcdb657320a311bb275a20a4856e2.tar.gz rails-a8876760041fcdb657320a311bb275a20a4856e2.tar.bz2 rails-a8876760041fcdb657320a311bb275a20a4856e2.zip |
Merge pull request #22095 from ajmyers01/fix_typo_in_eager_load_polymorphic_error
Fix Typo in EagerLoadPolymorphicError [ci skip]
Diffstat (limited to 'activerecord/lib')
-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 |