diff options
author | Petrik <petrik@deheus.net> | 2019-05-28 18:12:25 +0200 |
---|---|---|
committer | Petrik <petrik@deheus.net> | 2019-05-28 18:22:22 +0200 |
commit | 9dce7d9268a30d8f7d94567f749fa8b63bee093e (patch) | |
tree | 0906bb529cd46eab8f4d51fe906f14aeb46fce53 /activerecord | |
parent | b55f5a3ed9134ed86993fcda3ea9b6fb2e97f09e (diff) | |
download | rails-9dce7d9268a30d8f7d94567f749fa8b63bee093e.tar.gz rails-9dce7d9268a30d8f7d94567f749fa8b63bee093e.tar.bz2 rails-9dce7d9268a30d8f7d94567f749fa8b63bee093e.zip |
Fix comment for "broken" inverse_of associations [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/models/face.rb | 2 |
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 |