From 0fbf31b2000e467f18ebba90efb3a88fa1a4a7c9 Mon Sep 17 00:00:00 2001 From: aditya-kapoor Date: Wed, 15 May 2013 12:28:08 +0530 Subject: Added documentation for ActiveRecord::Associations::Builder::Association class --- activerecord/lib/active_record/associations/builder/association.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/activerecord/lib/active_record/associations/builder/association.rb b/activerecord/lib/active_record/associations/builder/association.rb index 5c37f42794..34684fd71a 100644 --- a/activerecord/lib/active_record/associations/builder/association.rb +++ b/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 -- cgit v1.2.3