diff options
author | Alexander <abonec@gmail.com> | 2011-12-15 00:16:43 -0800 |
---|---|---|
committer | Alexander <abonec@gmail.com> | 2011-12-15 00:16:43 -0800 |
commit | bdcc27155dd08a4abbb8ba1ca07b767a5d8d3416 (patch) | |
tree | 0bcdefaf05cf242c41cc07e5ba1135ed320e917d | |
parent | dcd59f2d9f23257def7baee432929da037183ea9 (diff) | |
parent | 9e39dc48d687b8274eaec6cb5aa3433701e1620d (diff) | |
download | rails-bdcc27155dd08a4abbb8ba1ca07b767a5d8d3416.tar.gz rails-bdcc27155dd08a4abbb8ba1ca07b767a5d8d3416.tar.bz2 rails-bdcc27155dd08a4abbb8ba1ca07b767a5d8d3416.zip |
Merge pull request #74 from abonec/master
Fixed typo in comments
-rw-r--r-- | activerecord/lib/active_record/reflection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb index 52968070cb..57b7f6952e 100644 --- a/activerecord/lib/active_record/reflection.rb +++ b/activerecord/lib/active_record/reflection.rb @@ -457,7 +457,7 @@ module ActiveRecord 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 |