Skip to content
This repository
Browse code

Update activerecord/lib/active_record/reflection.rb

  • Loading branch information...
commit 9e39dc48d687b8274eaec6cb5aa3433701e1620d 1 parent 74e46e5
Alexander abonec authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  activerecord/lib/active_record/reflection.rb
2  activerecord/lib/active_record/reflection.rb
@@ -457,7 +457,7 @@ def source_macro
457 457 source_reflection.source_macro
458 458 end
459 459
460   - # A through association is nested iff there would be more than one join table
  460 + # A through association is nested if there would be more than one join table
461 461 def nested?
462 462 chain.length > 2 || through_reflection.macro == :has_and_belongs_to_many
463 463 end

0 comments on commit 9e39dc4

Please sign in to comment.
Something went wrong with that request. Please try again.