Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 7, 2006
  1. Update callbacks documentation. #3970 [Robby Russell <robby@planetarg…

    Marcel Molina authored
    …on.com>] Merge doc patches with stable.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@4702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 27, 2006
  1. @dhh

    doc fix (closes #3972) [robby]

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 21, 2005
  1. Revert [3130]. Behavior of introducing Kernel.binding causes breakage.

    Marcel Molina authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @jeremy

    Use Kernel.binding rather than binding to allow columns of that name.…

    jeremy authored
    … References #2973.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Oct 26, 2005
  1. @dhh

    Fix docs (closes #2491)

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 28, 2005
  1. Returning false in before_destroy should cancel action. Closes #1829.

    Scott Barron authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2381 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 3, 2005
  1. @jeremy
  2. @jeremy

    r1601@asus: jeremy | 2005-07-02 14:33:08 -0700

    jeremy authored
     Only notify observers of after_find and after_initialize if these methods are defined on the model.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jun 26, 2005
  1. @dhh

    Updated all references to the old find_first and find_all to use the …

    dhh authored
    …new style #1511 [Marcel Molina]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1520 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on May 2, 2005
  1. @dhh

    Changed the callbacks such that observers are notified before the in-…

    dhh authored
    …object callbacks are triggered. Without this change, it wasn't possible to act on the whole object in something like a before_destroy observer without having the objects own callbacks (like deleting associations) called first.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1273 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 19, 2005
  1. @dhh

    Added warning about specifying callbacks before associations to trigg…

    dhh authored
    …er inheritance
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@917 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 14, 2005
  1. @dhh

    Added that all types of after_find/after_initialized callbacks are tr…

    dhh authored
    …iggered if the explicit implementation is present, not only the explicit implementation itself
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 13, 2005
  1. @dhh

    Fixed example in docs

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@893 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 7, 2005
  1. @dhh

    Fixed documentation snafus #575, #576, #577, #585

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 15, 2005
  1. @dhh

    Added support for associating unsaved objects #402 [Tim Bates]

    dhh authored
    Added replace to associations, so you can do project.manager.replace(new_manager) or project.milestones.replace(new_milestones) #402 [Tim Bates]
    Added build and create methods to has_one and belongs_to associations, so you can now do project.manager.build(attributes) #402 [Tim Bates]
    Fixed that Base#== wouldn't work for multiple references to the same unsaved object #402 [Tim Bates]
    Added that if a before_* callback returns false, all the later callbacks and the associated action are cancelled. If an after_* callback returns false, all the later callbacks are cancelled. Callbacks are generally run in the order they are defined, with the exception of callbacks defined as methods on the model, which are called last. #402 [Tim Bates]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 1, 2005
  1. @dhh

    Added block-style for callbacks #332 [bitsweat]

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@296 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Dec 12, 2004
  1. @dhh

    No longer necessary to guard against reincludes with the new reset of…

    dhh authored
    … inheritance variables
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Dec 8, 2004
  1. @dhh

    A fix that actually works...

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@91 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Callbacks added to the inheritable que should only be called once -- …

    dhh authored
    …even as the definition is read again
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@90 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Dec 7, 2004
  1. @dhh

    Fixed that methods wrapped in callbacks still return their original r…

    dhh authored
    …esult #260 [bitsweat]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@65 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 24, 2004
  1. @dhh

    Initial

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Something went wrong with that request. Please try again.