Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #74 from abonec/master

Fixed typo in comments
  • Loading branch information...
commit bdcc27155dd08a4abbb8ba1ca07b767a5d8d3416 2 parents dcd59f2 + 9e39dc4
@abonec abonec authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/reflection.rb
View
2  activerecord/lib/active_record/reflection.rb
@@ -457,7 +457,7 @@ def source_macro
source_reflection.source_macro
end
- # A through association is nested iff there would be more than one join table
+ # A through association is nested if there would be more than one join table
def nested?
chain.length > 2 || through_reflection.macro == :has_and_belongs_to_many
end
Please sign in to comment.
Something went wrong with that request. Please try again.