Permalink
Browse files

Merge pull request #74 from abonec/master

Fixed typo in comments
  • Loading branch information...
2 parents dcd59f2 + 9e39dc4 commit bdcc27155dd08a4abbb8ba1ca07b767a5d8d3416 @abonec abonec committed Dec 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit bdcc271

Please sign in to comment.