Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Dec 8, 2011
  1. @vijaydev

    fix comments

    vijaydev authored
  2. @tenderlove
  3. @tenderlove
  4. @tenderlove
Commits on Dec 7, 2011
  1. @tenderlove
Commits on Dec 5, 2011
  1. @tenderlove
  2. @jadeforrest

    Speed up table_exists? for databases with a large number of tables

    jadeforrest authored
    At New Relic, we have hundreds of thousands of tables, and our migrations took 30 minutes without this similar patch. This cuts it down to a more reasonable amount of time.
    
    The rescue false part is ugly, but necessary as far as I can tell. I don't know of a cross-database statement you can make that will work without trapping errors.
Commits on Nov 29, 2011
  1. @tenderlove

    push synchronization in to each method. Reduces method calls and makes

    tenderlove authored
    it clear which methods are synchronized.
  2. @tenderlove

    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.
  3. @tenderlove
  4. @tenderlove
  5. @tenderlove
  6. @tenderlove
  7. @jonleighton
  8. @tenderlove
Commits on Nov 28, 2011
  1. @tenderlove
  2. @tenderlove
  3. @tenderlove
  4. @tenderlove
  5. @tenderlove
  6. @tenderlove
Commits on Nov 20, 2011
  1. @tenderlove

    oops! I suck! :bomb:

    tenderlove authored
  2. @tenderlove
Commits on Nov 17, 2011
  1. @tenderlove

    Revert "Merge pull request #1163 from amatsuda/sexier_migration_31"

    tenderlove authored
    This reverts commit 0e407a9, reversing
    changes made to 533a9f8.
    
    Conflicts:
    
    	activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
    	activerecord/test/cases/migration_test.rb
  2. @tenderlove

    Revert "Merge pull request #3603 from vijaydev/change_table_without_b…

    tenderlove authored
    …lock_arg"
    
    This reverts commit 81fad6a, reversing
    changes made to 23101de.
    
    Conflicts:
    
    	activerecord/test/cases/migration_test.rb
Commits on Nov 16, 2011
  1. @tenderlove
Commits on Nov 13, 2011
  1. @noefroidevaux

    Fix pull request #3609

    noefroidevaux authored
Commits on Nov 11, 2011
  1. @noefroidevaux
Commits on Nov 10, 2011
  1. @vijaydev
  2. @vijaydev

    Checking the arity of the block passed to create_table

    vijaydev authored
    A recent change made to create_table does away with the
    need for the block argument. Checking the arity will prevent the
    mixing up of the two syntaxes.
Commits on Nov 7, 2011
  1. @amatsuda
Commits on Nov 4, 2011
  1. @vjebelev
  2. @tenderlove
Commits on Oct 31, 2011
  1. @rud

    dump_schema_information: explicitly order inserts into schema_migrati…

    rud authored
    …ons table
    
    This change reduces churn in the db/development_structure.sql file when using :sql as
    active_record.schema_format, and makes comparing diffs much easier.
    
    Test ensures the output SQL-statements are lexically ordered by version.
Commits on Oct 15, 2011
  1. @mperham

    Default timestamps to non-null

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