Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 31, 2012
  1. Aaron Patterson
  2. Aaron Patterson

    updating changelogs

    tenderlove authored
Commits on May 18, 2012
  1. Jon Leighton

    Perf: Don't load the association for #delete_all.

    jonleighton authored
    Bug #6289
    
    Conflicts:
    
    	activerecord/test/cases/associations/has_many_associations_test.rb
Commits on Apr 30, 2012
  1. Rafael Mendonça França
Commits on Apr 19, 2012
  1. Benedikt Deicke

    Revert "Revert "Fix #5667. Preloading should ignore scoping.""

    benedikt authored
    This reverts commit 1166d49.
    
    Conflicts:
    
    	activerecord/test/cases/associations/eager_test.rb
  2. Jeremy Kemper

    Revert "Fix #5667. Preloading should ignore scoping."

    jeremy authored
    Causes a subtle regression where record.reload includes the default
    scope. Hard to reproduce in isolation. Seems like the relation is
    getting infected by some previous usage.
    
    This reverts commit dffbb52.
Commits on Mar 30, 2012
  1. Jon Leighton

    Fix #5667. Preloading should ignore scoping.

    jonleighton authored
    Conflicts:
    
    	activerecord/test/cases/associations/eager_test.rb
Commits on Mar 12, 2012
  1. Andrew White

    Add dynamic find_or_create_by_{attribute}! method.

    pixeltrix authored
    (cherry picked from commit 5282485d310d1a6ffcf55e4e7f56ab234e16880d)
    
    Conflicts:
    
    	activerecord/CHANGELOG.md
    	activerecord/lib/active_record/dynamic_finder_match.rb
Commits on Mar 9, 2012
  1. Rafael Mendonça França

    Fix my name in the CHANGELOG to follow the convention

    rafaelfranca authored
    Also add missing entries and use the formating convention
Commits on Mar 8, 2012
  1. Vijay Dev

    changelog updates [ci skip]

    vijaydev authored
Commits on Jan 26, 2012
  1. Xavier Noria

    CHANGELOG revision for v3.2.1

    fxn authored
  2. Xavier Noria

    registers 2483460 in the CHANGELOG

    fxn authored
Commits on Jan 20, 2012
  1. Jon Leighton

    Fix another race condition.

    jonleighton authored
    From 2c667f6.
    
    Thanks @pwnall for the heads-up.
    
    Conflicts:
    
    	activerecord/lib/active_record/core.rb
  2. David Heinemeier Hansson

    Preparing for 3.2.0 release

    dhh authored
Commits on Jan 19, 2012
  1. Aaron Patterson

    Merge pull request #4531 from exviva/pessimistic_with_lock

    tenderlove authored
    Add ActiveRecord::Base#with_lock
Commits on Jan 12, 2012
  1. Santiago Pastorino

    Add CHANGELOG entry

    spastorino authored
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
  5. Jon Leighton
  6. Jon Leighton
  7. Jon Leighton

    Merge pull request #3636 from joshsusser/master

    jonleighton authored
    association methods are now generated in modules
Commits on Nov 27, 2011
  1. Josh Susser
Commits on Nov 19, 2011
  1. Jon Leighton

    Perf fix

    jonleighton authored
    If we're deleting all records in an association, don't add a IN(..)
    clause to the query.
    
    Fixes #3672.
  2. Jon Leighton
  3. Jon Leighton

    Verify that #3690 has been closed by previous changes to the mysql

    jonleighton authored
    adapters.
    
    These tests fail on the v3.1.2 tag.
    
    Closes #3690.
Something went wrong with that request. Please try again.