Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 1, 2012
  1. Claudio B.

    Add release dates to documentation

    claudiob authored
    Set "March 1, 2012" as the release date for 3.2.2, 3.1.4, 3.0.12
Commits on Feb 25, 2012
  1. Paco Guzmán

    Update changelogs with rails 3.0-stable branch info

    pacoguzman authored pacoguzman committed
Commits on Feb 18, 2012
  1. Josef Šimánek

    Update activerecord/CHANGELOG.md

    simi authored
Commits on Feb 9, 2012
  1. Marcelo Silveira

    Added where option to add_index to support postgresql partial indices

    mhfs authored
    The `add_index` method now supports a `where` option that receives a
    string with the partial index criteria.
    
        add_index(:accounts, :code, :where => "active")
    
        Generates
    
        CREATE INDEX index_accounts_on_code ON accounts(code) WHERE active
Commits on Jan 31, 2012
  1. Juanjo Bazán

    Added `none` query method to return zero records.

    xuanxu authored
    And added NullRelation class implementing the null object pattern for the `Relation` class.
Commits on Jan 29, 2012
  1. Manoj
Commits on Jan 27, 2012
  1. Rafael Mendonça França
Commits on Jan 26, 2012
  1. Matt Bridges
  2. Xavier Noria
  3. Claudio B.
Commits on Jan 25, 2012
  1. Aaron Patterson

    The primary key is always initialized in the @attributes hash to nil …

    tenderlove authored
    …(unless
    
    another value has been specified).
Commits on Jan 18, 2012
  1. Olek Janiszewski

    Add ActiveRecord::Base#with_lock

    exviva authored
    Add a `with_lock` method to ActiveRecord objects, which starts
    a transaction, locks the object (pessimistically) and yields to the block.
    The method takes one (optional) parameter and passes it to `lock!`.
    
    Before:
    
        class Order < ActiveRecord::Base
          def cancel!
            transaction do
              lock!
              # ... cancelling logic
            end
          end
        end
    
    After:
    
        class Order < ActiveRecord::Base
          def cancel!
            with_lock do
              # ... cancelling logic
            end
          end
        end
Commits on Jan 16, 2012
  1. Jon Leighton
  2. Jon Leighton

    Deprecate inferred JOINs with includes + SQL snippets.

    jonleighton authored
    See the CHANGELOG for details.
    
    Fixes #950.
Commits on Jan 12, 2012
  1. Vijay Dev

    Merge pull request #4387 from Karunakar/releasenotes

    vijaydev authored
    Added the release dates for rails 3.1.1, rails 3.1.2, rails 3.1.3
  2. Santiago Pastorino

    Add CHANGELOG entry

    spastorino authored
Commits on Jan 10, 2012
  1. Aaron Patterson
Commits on Jan 8, 2012
  1. Karunakar (Ruby)
Commits on Dec 30, 2011
  1. Aaron Patterson
Commits on Dec 24, 2011
  1. Jon Leighton
Commits on Dec 20, 2011
  1. Aaron Patterson
  2. Aaron Patterson
  3. Vijay Dev
Commits on Dec 12, 2011
  1. Brian Durand

    Add ActiveSupport::Cache::NullStore to expose caching interface witho…

    bdurand authored
    …ut actually caching for development and test environments.
Commits on Dec 9, 2011
  1. Piotr Sarnacki

    Allow to run migrations with given scope, with SCOPE=<scope>

    drogus authored
    Scope in migrations can be defined by adding suffix in filename,
    like: 01_a_migration.blog.rb. Such migration have blog scope.
    
    Scope is automatically added while copying migrations from engine,
    so if you want to revert all of the migrations from given engine,
    you can just run db:migrate with SCOPE, like:
    
        rake db:migrate SCOPE=blog
Commits on Dec 3, 2011
  1. Xavier Noria

    removes the convenience instance version of AR::Base.silence_auto_exp…

    fxn authored
    …lain
    
    Rationale: As discussed with José and Jon, this convenience
    shortcut is not clearly justified and it could let the user
    thing the disabled EXPLAINs are related to the model instance
    rather than being globally disabled.
Commits on Dec 2, 2011
  1. Xavier Noria
  2. Xavier Noria
Commits on Dec 1, 2011
  1. David Heinemeier Hansson

    Revert "Added ActiveRecord::Base#last_modified to work with the new f…

    dhh authored
    …resh_when/stale? conditional get methods from Action Pack"
    
    Needless indirection with no added value.
    
    This reverts commit 535853e.
  2. David Heinemeier Hansson

    Added ActiveRecord::Base#last_modified to work with the new fresh_whe…

    dhh authored
    …n/stale? conditional get methods from Action Pack
Commits on Nov 30, 2011
  1. Bogdan Gusiev
Commits on Nov 29, 2011
  1. Aaron Patterson

    Automatic closure of connections in threads is deprecated. For example

    tenderlove authored
    the following code is deprecated:
    
    Thread.new { Post.find(1) }.join
    
    It should be changed to close the database connection at the end of
    the thread:
    
    Thread.new {
      Post.find(1)
      Post.connection.close
    }.join
    
    Only people who spawn threads in their application code need to worry
    about this change.
  2. Jon Leighton
  3. Jon Leighton
  4. Jon Leighton
Something went wrong with that request. Please try again.