Permalink
Browse files

Added documentation for ActiveRecord::Associations::Builder::Associat…

…ion class
  • Loading branch information...
aditya-kapoor committed May 15, 2013
1 parent dfb69f2 commit 0fbf31b2000e467f18ebba90efb3a88fa1a4a7c9
Showing with 4 additions and 0 deletions.
  1. +4 −0 activerecord/lib/active_record/associations/builder/association.rb
@@ -1,3 +1,7 @@
+# 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
+
module ActiveRecord::Associations::Builder
class Association #:nodoc:
class << self

0 comments on commit 0fbf31b

Please sign in to comment.