Skip to content

Commit

Permalink
Merge pull request #74 from abonec/master
Browse files Browse the repository at this point in the history
Fixed typo in comments
  • Loading branch information
abonec committed Dec 15, 2011
2 parents dcd59f2 + 9e39dc4 commit bdcc271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/reflection.rb
Expand Up @@ -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
Expand Down

0 comments on commit bdcc271

Please sign in to comment.