Skip to content
This repository

Nov 08, 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
    authored

Nov 06, 2007

  1. Make transaction documentation example more realistic

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

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

Aug 14, 2007

  1. Michael Koziarski

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

    …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
    authored

Mar 16, 2007

  1. Michael Koziarski

    Remove deprecated object transactions. People relying on this functio…

    …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
    authored

Feb 21, 2007

  1. David Heinemeier Hansson

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

    …transaction so you can manually rollback [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored

Jan 12, 2007

  1. Jeremy Kemper

    Fix new_record? and id rollback. Closes #6910.

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

Jan 02, 2007

  1. risk danger olson

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

    …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
    authored

Nov 02, 2006

  1. Jeremy Kemper

    Deprecation: object transactions warning.

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

Oct 10, 2006

  1. Jeremy Kemper

    Wrap save! in a transaction. Closes #6324.

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

Jun 19, 2006

  1. Jeremy Kemper

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

     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
    authored

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
    authored
  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
    authored

Oct 26, 2005

  1. David Heinemeier Hansson

    Fix docs (closes #2491)

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

Sep 24, 2005

  1. David Heinemeier Hansson

    Added AbstractAdapter#select_value and AbstractAdapter#select_values …

    …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
    authored

Apr 10, 2005

  1. David Heinemeier Hansson

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

    …s killed gracefully (TERM signal) #1054 [Leon Bredt]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored

Feb 23, 2005

  1. David Heinemeier Hansson

    Finished polishing API docs

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

Feb 07, 2005

  1. David Heinemeier Hansson

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

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

Dec 30, 2004

  1. David Heinemeier Hansson

    Restored thread safety to Active Record [andreas]

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

    Transactions are now actually working on the database level on save, …

    …but thread safety is currently out the window. Andreas is working on it
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@284 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored

Dec 22, 2004

  1. David Heinemeier Hansson

    Fixed that nested transactions now work by letting the outer most tra…

    …nsaction have the responsibilty of starting and rolling back the transaction. If any of the inner transactions swallow the exception raised, though, the transaction will not be rolled back. So always let the transaction bubble up even when you've dealt with local issues. Closes #231 and #340.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    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
    authored
Something went wrong with that request. Please try again.