Skip to content
This repository

Dec 11, 2010

  1. Xavier Noria

    reviews commit 53bbbcc

    fxn authored
  2. Ivan Evtuhovich

    Fix doc about nested transaction rollback

    Because AR::Rollback do not reraise and inner transaction is not "real"
    nothing rollback at all
    evtuhovich authored fxn committed

Nov 28, 2010

  1. Santiago Pastorino

    Revert f1c13b0

    spastorino authored

Nov 09, 2010

  1. Santiago Pastorino

    Don't check if persisted is defined just initialize it properly

    spastorino authored
  2. David Chelimsky

    use persisted? instead of new_record? wherever possible

    - persisted? is the API defined in ActiveModel
    - makes it easier for extension libraries to conform to ActiveModel
      APIs
      without concern for whether the extended object is specifically
      ActiveRecord
    
    [#5927 state:committed]
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
    dchelimsky authored spastorino committed

Jun 20, 2010

  1. Xavier Noria

    Merge remote branch 'rails/master'

    Conflicts:
    	actionpack/lib/abstract_controller/base.rb
    fxn authored

Jun 18, 2010

  1. Brian Durand

    Fix bug with rolling back frozen attributes.

    [#2991]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    bdurand authored jeremy committed

Jun 16, 2010

  1. Rizwan Reza

    Adds title to the rest of the files in activerecord/lib

    rizwanreza authored

Jun 08, 2010

  1. Brian Durand

    Make logic for after_commit and after_rollback :on option work like i…

    …t does for validation callbacks.
    
    [#2991 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    bdurand authored jeremy committed
  2. Jeremy Kemper

    Revert "Temporarily revert "Update after_commit and after_rollback do…

    …cs and tests to use new style API with an :on options instead of on_* suffix." and "Add after_commit and after_rollback callbacks to ActiveRecord that are called after transactions either commit or rollback on all records saved or destroyed in the transaction.""
    
    This reverts commit 1b2941c.
    
    [#2991]
    jeremy authored
  3. Jeremy Kemper

    Temporarily revert "Update after_commit and after_rollback docs and t…

    …ests to use new style API with an :on options instead of on_* suffix." and "Add after_commit and after_rollback callbacks to ActiveRecord that are called after transactions either commit or rollback on all records saved or destroyed in the transaction."
    
    This reverts commits d2a49e4 and da840d1.
    
    [#2991]
    
    Conflicts:
    
    	activerecord/CHANGELOG
    	activerecord/lib/active_record/transactions.rb
    	activerecord/test/cases/transaction_callbacks_test.rb
    jeremy authored

May 08, 2010

  1. Yehuda Katz

    eliminate alias_method_chain from ActiveRecord

    wycats authored

May 01, 2010

  1. Xavier Noria

    edit pass in the transactions preamble rdoc

    fxn authored

Apr 30, 2010

  1. Xavier Noria

    after_(commit|rollback) rdoc, edit pass

    fxn authored
  2. Brian Durand

    Update after_commit and after_rollback docs and tests to use new styl…

    …e API with an :on options instead of on_* suffix.
    
    [#2991]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    bdurand authored jeremy committed

Apr 29, 2010

  1. Brian Durand

    Add after_commit and after_rollback callbacks to ActiveRecord that ar…

    …e called after transactions either commit or rollback on all records saved or destroyed in the transaction.
    
    [#2991 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    bdurand authored jeremy committed

Jan 17, 2010

  1. José Valim

    save(false) is gone, use save(:validate => false) instead.

    josevalim authored

May 28, 2009

  1. Joshua Peek

    Break up DependencyModule's dual function of providing a "depend_on" …

    …DSL and "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
    josh authored

May 12, 2009

  1. Bryan Helmkamp

    Use DependencyModule for included hooks in ActiveRecord

    brynary authored

Apr 05, 2009

  1. Pratik

    Merge docrails

    lifo authored

Feb 22, 2009

  1. Michael Koziarski

    Revert "Wrap calls to update_attributes in a transaction."

    This caused failures on sqlite, sqlite3 and postgresql
    
    This reverts commit fc09ebc.
    [#922 state:reopened]
    NZKoz authored
  2. Xavier Noria

    Wrap calls to update_attributes in a transaction.

    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    [#922 state:committed]
    fxn authored NZKoz committed

Jan 10, 2009

  1. Jeremy Kemper

    Introduce transaction_joinable flag to mark that the fixtures transac…

    …tion can't joined, a new savepoint is required even if :requires_new is not set. Use :requires_new option instead of :nest. Update changelog.
    
    [#383 state:committed]
    jeremy authored
  2. Jeremy Kemper

    Merge branch 'master' into savepoints

    jeremy authored

Dec 10, 2008

  1. Frederick Cheung

    Don't use the transaction instance method so that people with has_one…

    …/belongs_to :transaction aren't fubared
    
    [#1551 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    fcheung authored jeremy committed

Nov 03, 2008

  1. Hongli Lai

    Rename ActiveRecord::Base#transaction's :force option to :nest. Impro…

    …ve documentation for nested transactions.
    FooBarWidget authored
  2. Hongli Lai

    Improve documentation for DatabaseStatements#transactions and Abstrac…

    …tAdapter#transactional_fixtures, especially with regard to support for nested transactions.
    FooBarWidget authored
  3. Implement savepoints.

    Jonathan Viney authored FooBarWidget committed

Oct 05, 2008

  1. Pratik

    Merge docrails

    lifo authored

Sep 03, 2008

  1. Pratik

    Merge docrails

    lifo authored

Aug 24, 2008

  1. Xavier Noria

    Rollback the transaction when a before_* callback returns false.

    Previously this would have committed the transaction but not carried out save or destroy operation.
    
    [#891 state:committed]
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    fxn authored NZKoz committed

Jul 28, 2008

  1. Pratik

    Merge docrails changes

    lifo authored

Jul 15, 2008

  1. Jonathan Viney

    Move the transaction counter to the connection object rather than mai…

    …ntaining it on the current Thread.
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    [#533 state:resolved]
    jviney authored NZKoz committed

May 25, 2008

  1. Pratik

    Merge docrails.

    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
    lifo authored

Apr 05, 2008

  1. Pratik

    Improve documentation.

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