Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 22, 2009
  1. Michael Koziarski

    Revert "Wrap calls to update_attributes in a transaction."

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

    Wrap calls to update_attributes in a transaction.

    fxn authored NZKoz committed
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    [#922 state:committed]
Commits on Jan 10, 2009
  1. Jeremy Kemper

    Introduce transaction_joinable flag to mark that the fixtures transac…

    jeremy authored
    …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]
  2. Jeremy Kemper
Commits on Dec 10, 2008
  1. Frederick Cheung Jeremy Kemper

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

    fcheung authored jeremy committed
    …/belongs_to :transaction aren't fubared
    
    [#1551 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Nov 3, 2008
  1. Hongli Lai

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

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

    Improve documentation for DatabaseStatements#transactions and Abstrac…

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

    Implement savepoints.

    Jonathan Viney authored FooBarWidget committed
Commits on Oct 5, 2008
  1. Pratik

    Merge docrails

    lifo authored
Commits on Sep 3, 2008
  1. Pratik

    Merge docrails

    lifo authored
Commits on Aug 24, 2008
  1. Xavier Noria Michael Koziarski

    Rollback the transaction when a before_* callback returns false.

    fxn authored NZKoz committed
    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>
Commits on Jul 28, 2008
  1. Pratik

    Merge docrails changes

    lifo authored
Commits on Jul 15, 2008
  1. Jonathan Viney Michael Koziarski

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

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

    Merge docrails.

    lifo authored
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on Apr 5, 2008
  1. Pratik

    Improve documentation.

    lifo authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Dec 22, 2007
  1. Jeremy Kemper

    Remove leaky unused signal handler for transactions.

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

    Ruby 1.9 compat: fix warnings, shadowed block vars, and unitialized i…

    jeremy authored
    …nstance vars
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 29, 2007
  1. Removed documentation for the removed rollback! method on transaction…

    Tobias Lütke authored
    …s and mention ActiveRecord::Rollback [cody]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8240 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 8, 2007
  1. Smattering of grammatical fixes to documentation. Closes #10083 [BobS…

    Marcel Molina authored
    …ilva]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 6, 2007
  1. Make transaction documentation example more realistic

    Marcel Molina authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. Explain semantics of having several different AR instances in a trans…

    Marcel Molina authored
    …action block. Closes #9036 [jacobat, Marcel Molina]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Aug 14, 2007
  1. Michael Koziarski

    Change the implementation of ActiveRecord's attribute reader and writ…

    NZKoz authored
    …er methods:
    
     * Generate Reader and Writer methods which cache attribute values in hashes.  This is to avoid repeatedly parsing the same date or integer columns.
     * Move the attribute related methods out to attribute_methods.rb to de-clutter base.rb
     * Change exception raised when users use find with :select then try to access a skipped column.  Plugins could override missing_attribute() to lazily load the columns.
     * Move method definition to the class, instead of the instance
     * Always generate the readers, writers and predicate methods.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 16, 2007
  1. Michael Koziarski

    Remove deprecated object transactions. People relying on this functio…

    NZKoz authored
    …nality should install the object_transactions plugin at http://code.bitsweat.net/svn/object_transactions.  Closes #5637 [Koz, Jeremy Kemper]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6439 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 21, 2007
  1. David Heinemeier Hansson

    Added database connection as a yield parameter to ActiveRecord::Base.…

    dhh authored
    …transaction so you can manually rollback [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 12, 2007
  1. Jeremy Kemper

    Fix new_record? and id rollback. Closes #6910.

    jeremy authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 2, 2007
  1. risk danger olson

    Rollback #new_record? and #id values for created records that rollbac…

    technoweenie authored
    …k in an after_save callback. Closes #6910 [Ben Curren]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 2, 2006
  1. Jeremy Kemper

    Deprecation: object transactions warning.

    jeremy authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Oct 10, 2006
  1. Jeremy Kemper

    Wrap save! in a transaction. Closes #6324.

    jeremy authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5281 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jun 19, 2006
  1. Jeremy Kemper

    r4644@asus: jeremy | 2006-06-16 14:57:03 -0700

    jeremy authored
     locking
     r4645@asus:  jeremy | 2006-06-17 12:41:30 -0700
     missing reply fixture
     r4646@asus:  jeremy | 2006-06-19 13:05:23 -0700
     Use a per-thread (rather than global) transaction mutex so you may execute concurrent transactions on separate connections.
     r4647@asus:  jeremy | 2006-06-19 13:07:23 -0700
     PostgreSQL: introduce allow_concurrency option which determines whether to use blocking or asynchronous #execute. Adapters with blocking #execute will deadlock Ruby threads. The default value is ActiveRecord::Base.allow_concurrency.
     r4648@asus:  jeremy | 2006-06-19 13:08:40 -0700
     Pass the default allow_concurrency when instantiating new connections.
     r4649@asus:  jeremy | 2006-06-19 13:11:12 -0700
     Break out concurrent transaction tests and run them for PostgreSQLAdapter only (need to fork or system('some_test_script') for the other adapters)
     r4650@asus:  jeremy | 2006-06-19 13:42:48 -0700
     Row locking. Provide a locking clause with the :lock finder option or true for the default "FOR UPDATE".
     r4661@asus:  jeremy | 2006-06-19 15:36:51 -0700
     excise the junk mutex
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4460 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 29, 2006
  1. Replace alias method chaining with Module#alias_method_chain. [Marcel…

    Marcel Molina authored
    … 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 authored
    …el Molina Jr.]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Oct 26, 2005
  1. David Heinemeier Hansson

    Fix docs (closes #2491)

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 24, 2005
  1. David Heinemeier Hansson

    Added AbstractAdapter#select_value and AbstractAdapter#select_values …

    dhh authored
    …as convenience methods for selecting single values, instead of hashes, of the first column in a SELECT #2283
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 10, 2005
  1. David Heinemeier Hansson

    Added rollbacks of transactions if they're active as the dispatcher i…

    dhh authored
    …s killed gracefully (TERM signal) #1054 [Leon Bredt]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 23, 2005
  1. David Heinemeier Hansson

    Finished polishing API docs

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