Skip to content
Commits on Aug 31, 2007
  1. @jeremy

    Performance: absorb instantiate and initialize_with_callbacks into th…

    jeremy committed
    …e Base methods.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Aug 28, 2007
  1. @NZKoz

    Formatting, grammar and spelling fixes for the associations documenta…

    NZKoz committed
    …tion. [seanhussey] Closes #8899
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7368 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 13, 2007
  1. @jeremy
Commits on Sep 5, 2006
  1. @dhh

    Backed out of new_record? to new? transformation as it would screw up…

    dhh committed
    … existing models that did boolean calls on "new" attributes [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::B…

    dhh committed
    …ase.new? (old version still works until Rails 2.0) [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 8, 2006
  1. @jeremy

    Update callbacks documentation. Closes #3970.

    jeremy committed
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 5, 2006
  1. @dhh

    Doc fixes (closes #5443)

    dhh committed
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jun 21, 2006
  1. @jeremy

    Get there

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

    preserve chained method punctuation

    jeremy committed
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4483 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 29, 2006
  1. Replace alias method chaining with Module#alias_method_chain. [Marcel…

    Marcel Molina committed
    … Molina Jr.]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4312 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. Replace Ruby's deprecated append_features in favor of included. [Marc…

    Marcel Molina committed
    …el Molina Jr.]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 27, 2006
  1. @dhh

    doc fix (closes #3972) [robby]

    dhh committed
    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 committed
    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 committed
    … 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 committed
    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 committed
    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 committed
     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 committed
    …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 committed
    …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 committed
    …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 committed
    …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 committed
    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 committed
    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 committed
    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 committed
    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 committed
    … 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 committed
    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 committed
    …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 committed
    …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 committed
    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.