Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

May 16, 2010

  1. Jason Weathered

    Restore support for Rails versions before 2.0.2 (without define_callb…

    …acks).
    authored
  2. Jason Weathered

    Add before_commit_on_save and after_commit_on_save.

    These callbacks are the after_commit equivalent of ActiveRecord's after_save callback. i.e. they are called both on create and save but not destroy.
    authored
  3. Jason Weathered

    Tighten tests for before/after update

    authored
  4. Jason Weathered

    DRY up MockRecord in tests

    authored
  5. Jason Weathered

    Revert "Do not call before_commit and after_commit for records that w…

    …ere destroyed in the transaction. You can now use after_commit as an equivalent for after_save."
    
    This reverts commit a9d6023.
    
    Conflicts:
    
    	lib/after_commit/connection_adapters.rb
    authored

Apr 28, 2010

  1. Jason Weathered

    Merge remote branch 'benstein/master'

    Conflicts:
    	lib/after_commit/connection_adapters.rb
    authored
  2. Jason Weathered

    Merge remote branch 'thieso2/master'

    Conflicts:
    	lib/after_commit/connection_adapters.rb
    authored
  3. Jason Weathered

    Merge remote branch 'oggy/master'

    Conflicts:
    	test/after_commit_test.rb
    authored

Apr 25, 2010

  1. Jason Weathered

    Save memory on large transactions by not tracking records which don't…

    … use the callbacks.
    authored
  2. Jason Weathered

    Add have_callback? helper to ActiveSupport callbacks for detecting if…

    … any callbacks have been registered.
    authored
  3. Jason Weathered

    Remove support for Rails versions before 2.0.2 (without define_callba…

    …cks).
    authored

Mar 14, 2010

  1. George Ogata

    Prevent transactions in after commit hooks causing spurious rollbacks.

    authored

Mar 13, 2010

  1. George Ogata

    Don't silence exceptions raised during callbacks.

    authored
  2. George Ogata

    Fix callbacks in tests.

    authored

Feb 16, 2010

  1. Pat Allan

    Updating to 1.0.6

    authored

Feb 15, 2010

  1. Benjamin Stein

    cleanup callbacks from the proper transaction

    authored

Feb 04, 2010

  1. thieso2

    We need the TestBypass to be enables all the time.

    authored
  2. thieso2

    Do not call before_commit and after_commit for records that were dest…

    …royed in the transaction. You can now use after_commit as an equivalent for after_save.
    authored

Dec 15, 2009

  1. Pat Allan

    Ensuring aliased methods return original values.

    authored

Dec 14, 2009

  1. Pat Allan

    Ruby 1.9 compatibility fixes: fix load paths for Rake tasks and tests…

    …. (From David Yip)
    authored
  2. Pat Allan

    Load 'active_record', not 'activerecord': silences deprecation warnin…

    …gs. (From David Yip)
    authored

Nov 25, 2009

  1. Pat Allan

    Making sure transaction pointer is never nil when used, and updating …

    …to v1.0.5
    authored
  2. Pat Allan

    Updating to 1.0.4

    authored
  3. Made ActiveRecord::TestBypass optional. (As a consequence, also remov…

    …ed rails/init.rb.)
    
    Say you've got a test case (or example, whichever) like this:
    
      test "something doesn't happen when commit fails" do
        Foo.connection.stub(:commit_db_transaction).and_raise(StandardError)
    
        begin; @foo.save; rescue; end
    
        assert something_depending_on_commit_doesnt_happen
      end
    
      uses_transaction "something doesn't happen when commit fails"
    
    AfterCommit::TestBypass will always fire the after_commit handler, and hence
    will make this test case always fail.
    authored pat committed
  4. Initialize after_commit in a Rails plugin environment.

    authored pat committed
  5. Pat Allan

    Ensuring adapter hooks are always added, no matter whether the connec…

    …tion is made before or after after_commit is loaded.
    authored

Nov 20, 2009

  1. Pat Allan

    Updating version to 1.0.3

    authored
  2. Pat Allan

    Fixing bug where creating a new transaction within the after_commit c…

    …allback endlessly loops to the callback.
    authored

Nov 10, 2009

  1. Pat Allan

    Test fix (for real, this time)

    authored
  2. Pat Allan

    Version bump to 1.0.2

    authored
  3. Pat Allan

    Updated gemspec

    authored
  4. Pat Allan

    Version bump to 1.0.1

    authored
  5. Pat Allan

    Fixing the test bypass - was referencing a method that no longer exists.

    authored
  6. Pat Allan

    Gemspec update

    authored
  7. Pat Allan

    JRuby MySQL, typo and code cleanup fixes.

    authored
Something went wrong with that request. Please try again.