We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f30a12f + 26c068b commit 725651eCopy full SHA for 725651e
1 file changed
test/fixtures/active_record.rb
@@ -641,8 +641,8 @@ class Thing < ActiveRecord::Base
641
end
642
643
class RelatedThing < ActiveRecord::Base
644
- belongs_to :from, class_name: Thing, foreign_key: :from_id
645
- belongs_to :to, class_name: Thing, foreign_key: :to_id
+ belongs_to :from, class_name: "Thing", foreign_key: :from_id
+ belongs_to :to, class_name: "Thing", foreign_key: :to_id
646
647
648
class Question < ActiveRecord::Base
0 commit comments