aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2013-05-19 21:32:17 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2013-05-19 21:38:23 +0530
commit7f24d3d6956a7775771302d143e3b09de681d12f (patch)
tree3a93a11ea0a6b5d4e3db92b80961e6d0953efdc2 /activerecord/lib/active_record
parent8f8058922d0e4fa858fb512f53ff6a78041a395b (diff)
downloadrails-7f24d3d6956a7775771302d143e3b09de681d12f.tar.gz
rails-7f24d3d6956a7775771302d143e3b09de681d12f.tar.bz2
rails-7f24d3d6956a7775771302d143e3b09de681d12f.zip
copy edits[ci skip]
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/associations/builder/association.rb19
1 files changed, 8 insertions, 11 deletions
diff --git a/activerecord/lib/active_record/associations/builder/association.rb b/activerecord/lib/active_record/associations/builder/association.rb
index 4b72846ef6..6a3658f328 100644
--- a/activerecord/lib/active_record/associations/builder/association.rb
+++ b/activerecord/lib/active_record/associations/builder/association.rb
@@ -1,17 +1,14 @@
-# This is the parent Association class which defines certain class variables (valid_options) and
-# instance variables (model, name, scope, options, reflection) which would be common across all the associations that we known today in Rails..
-# Every association need to have the values of these variables set and they are used at multiple places
-# The heirarchy is defined as follows:
+# This is the parent Association class which defines the variables
+# used by all associations.
+#
+# The hierarchy is defined as follows:
# Association
# - SingularAssociation
-# - BelongsTo
-# - HasOne
+# - BelongsToAssociation
+# - HasOneAssociation
# - CollectionAssociation
-# - HasMany
-# - HasAndBelongsToMany
-#
-# The HasMany :Through association is a special case of HasMany association with the :through option set for it
-#
+# - HasManyAssociation
+# - HasAndBelongsToManyAssociation
module ActiveRecord::Associations::Builder
class Association #:nodoc: