Skip to content
This repository

Jan 15, 2005

  1. David Heinemeier Hansson

    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 authored

Jan 01, 2005

  1. David Heinemeier Hansson

    Added block-style for callbacks #332 [bitsweat]

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

Dec 12, 2004

  1. David Heinemeier Hansson

    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 authored

Dec 08, 2004

  1. David Heinemeier Hansson

    A fix that actually works...

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

    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 authored

Dec 07, 2004

  1. David Heinemeier Hansson

    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 authored

Nov 24, 2004

  1. David Heinemeier Hansson

    Initial

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