diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-07-25 15:48:23 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-07-25 15:48:23 +0100 |
commit | e6b89126db723b7f29bc067917f9bb0b3145d9e4 (patch) | |
tree | 7c69e6ef81028d0c1978d0b1dcea14893a146554 | |
parent | b2ef631f3933d64027f1962aeacbed4f122bb0a0 (diff) | |
download | rails-e6b89126db723b7f29bc067917f9bb0b3145d9e4.tar.gz rails-e6b89126db723b7f29bc067917f9bb0b3145d9e4.tar.bz2 rails-e6b89126db723b7f29bc067917f9bb0b3145d9e4.zip |
Revert "Added callback details in "supported options" of has_many association"
This reverts commit abe2038d5fea7c545ffddad1ac1252c7cbab6232.
Reason : It should add documentation to all the options
-rwxr-xr-x | activerecord/lib/active_record/associations.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 910b7d7730..66aa9332c8 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -839,12 +839,6 @@ module ActiveRecord # Specifies the name of the <tt>belongs_to</tt> association on the associated object that is the inverse of this <tt>has_many</tt> # association. Does not work in combination with <tt>:through</tt> or <tt>:as</tt> options. # See ActiveRecord::Associations::ClassMethods's overview on Bi-directional assocations for more detail. - # [:before_add] - # [:after_add] - # [:before_remove] - # [:after_remove] - # Specifies callback function/Proc which gets called before/after target object is associated / deassociated - # See "Association callbacks" section for more information and example. # # Option examples: # has_many :comments, :order => "posted_on" |