Permalink
Browse files

Revert "Added callback details in "supported options" of has_many ass…

…ociation"

This reverts commit abe2038.

Reason : It should add documentation to all the options
  • Loading branch information...
1 parent b2ef631 commit e6b89126db723b7f29bc067917f9bb0b3145d9e4 @lifo lifo committed Jul 25, 2009
Showing with 0 additions and 6 deletions.
  1. +0 −6 activerecord/lib/active_record/associations.rb
@@ -839,12 +839,6 @@ module ClassMethods
# 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"

0 comments on commit e6b8912

Please sign in to comment.