aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-05-29 01:50:22 +0900
committerGitHub <noreply@github.com>2019-05-29 01:50:22 +0900
commit72d7fa77a5c8ef7c9c571fe909e4a0a8e370f922 (patch)
tree06fdad51532c5e6fcb4db4c6cc4c7a890821180e /activerecord/test/models
parent2f96cfbb546dd6fdd3073f1895d4feb3aff20fb6 (diff)
parent9dce7d9268a30d8f7d94567f749fa8b63bee093e (diff)
downloadrails-72d7fa77a5c8ef7c9c571fe909e4a0a8e370f922.tar.gz
rails-72d7fa77a5c8ef7c9c571fe909e4a0a8e370f922.tar.bz2
rails-72d7fa77a5c8ef7c9c571fe909e4a0a8e370f922.zip
Merge pull request #36353 from p8/fix-spelling-in-face-model
Fix comment for "broken" inverse_of associations [ci skip]
Diffstat (limited to 'activerecord/test/models')
-rw-r--r--activerecord/test/models/face.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/face.rb b/activerecord/test/models/face.rb
index e900fd40fb..45ccc442ba 100644
--- a/activerecord/test/models/face.rb
+++ b/activerecord/test/models/face.rb
@@ -6,7 +6,7 @@ class Face < ActiveRecord::Base
belongs_to :polymorphic_man, polymorphic: true, inverse_of: :polymorphic_face
# Oracle identifier length is limited to 30 bytes or less, `polymorphic` renamed `poly`
belongs_to :poly_man_without_inverse, polymorphic: true
- # These is a "broken" inverse_of for the purposes of testing
+ # These are "broken" inverse_of associations for the purposes of testing
belongs_to :horrible_man, class_name: "Man", inverse_of: :horrible_face
belongs_to :horrible_polymorphic_man, polymorphic: true, inverse_of: :horrible_polymorphic_face