Skip to content
Commits on Nov 8, 2007
  1. Smattering of grammatical fixes to documentation. Closes #10083 [BobS…

    …ilva]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    Marcel Molina committed Nov 8, 2007
Commits on Aug 31, 2007
  1. @jeremy

    Performance: absorb instantiate and initialize_with_callbacks into th…

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

    Formatting, grammar and spelling fixes for the associations documenta…

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

    Consistent public/protected/private visibility for chained methods. C…

    …loses #7813.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    jeremy committed Mar 13, 2007
Commits on Sep 5, 2006
  1. @dhh

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

    … 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
    dhh committed Sep 5, 2006
  2. @dhh

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

    …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
    dhh committed Sep 5, 2006
Commits on Jul 8, 2006
  1. @jeremy

    Update callbacks documentation. Closes #3970.

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

    Doc fixes (closes #5443)

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

    Get there

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

    preserve chained method punctuation

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

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

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

    doc fix (closes #3972) [robby]

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

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

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

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

    Fix docs (closes #2491)

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

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

    Mark ticket # in changelog. Snip some trailing whitespace.

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

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

     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
    jeremy committed Jul 3, 2005
Commits on Jun 26, 2005
  1. @dhh

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

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

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

    …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
    dhh committed May 2, 2005
Commits on Mar 19, 2005
  1. @dhh

    Added warning about specifying callbacks before associations to trigg…

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

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

    …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
    dhh committed Mar 14, 2005
Commits on Mar 13, 2005
  1. @dhh

    Fixed example in docs

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

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

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

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

    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
    dhh committed Jan 15, 2005
Commits on Jan 1, 2005
  1. @dhh

    Added block-style for callbacks #332 [bitsweat]

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

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

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

    A fix that actually works...

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

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

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

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

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

    Initial

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