Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 22, 2012
  1. @tenderlove

    updating RAILS_VERSION

    tenderlove authored
  2. @tenderlove
  3. @tenderlove
  4. @tenderlove

    bumping up arel

    tenderlove authored
Commits on Feb 21, 2012
  1. @tenderlove
  2. @tenderlove
  3. @tenderlove

    Merge pull request #5096 from lawso017/master

    tenderlove authored
    Restoring ability to derive id/sequence from tables with nonstandard sequences for primary keys
    Conflicts:
    
    	activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
    	activerecord/test/cases/adapters/postgresql/schema_test.rb
Commits on Jan 31, 2012
  1. @kennyj
Commits on Jan 12, 2012
  1. @tomstuart
  2. @tomstuart
  3. @tomstuart
Commits on Dec 18, 2011
  1. @lest
Commits on Dec 15, 2011
  1. @jonleighton

    Fix #3987.

    jonleighton authored
    Conflicts:
    
    	activerecord/lib/active_record/attribute_methods/primary_key.rb
    	activerecord/test/cases/primary_keys_test.rb
Commits on Dec 14, 2011
  1. @jonleighton

    Fix #3672 again (dependent: delete_all perf)

    jonleighton authored
    Conflicts:
    
    	activerecord/lib/active_record/associations/builder/has_many.rb
    	activerecord/lib/active_record/associations/has_many_association.rb
Commits on Dec 8, 2011
  1. @jonleighton

    Fix #3890. (Calling proxy_association in scope chain.)

    jonleighton authored
    Conflicts:
    
    	activerecord/test/models/post.rb
  2. @vijaydev

    fix a bad url

    vijaydev authored
  3. @josevalim

    Remove NilClass whiners feature.

    josevalim authored
    Removing this feature causes boost in performance when using Ruby 1.9.
    
    Ruby 1.9 started to do implicit conversions using `to_ary` and `to_str`
    in some STDLIB methods (like Array#join). To do such implicit conversions,
    Ruby 1.9 always dispatches the method and rescues the NoMethodError exception
    in case one is raised.
    
    Therefore, since the whiners feature defined NilClass#method_missing, such
    implicit conversions for nil became much, much slower. In fact, just defining
    NilClass#method_missing (even without the whiners feature) already causes a
    massive slow down. Here is a snippet that shows such slow down:
    
        require "benchmark"
        Benchmark.realtime { 1_000.times { [nil,nil,nil].join } }
    
        class NilClass
          def method_missing(*args)
            raise NoMethodError
          end
        end
    
        Benchmark.realtime { 1_000.times { [nil,nil,nil].join } }
Commits on Dec 5, 2011
  1. @kennyj @jonleighton

    Use show create table.

    kennyj authored jonleighton committed
    Conflicts:
    
    	activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
Commits on Dec 3, 2011
  1. @jonleighton

    Avoid postgres 9.X syntax

    jonleighton authored
Commits on Nov 30, 2011
  1. @jonleighton
  2. @pimeys @jonleighton

    If the table behind has no primary key, do not ask again and just ret…

    pimeys authored jonleighton committed
    …urn nil.
    
    Conflicts:
    
    	activerecord/test/cases/attribute_methods_test.rb
Commits on Nov 28, 2011
  1. @arunagw @josevalim

    Bump Mysql2!

    arunagw authored josevalim committed
Commits on Nov 20, 2011
  1. @jonleighton
Commits on Nov 19, 2011
  1. @jonleighton

    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. @jonleighton
  3. @kennyj @jonleighton

    Use `show index from`. We could fix `pk_and_sequence_for` method's pe…

    kennyj authored jonleighton committed
    …rformance problem (GH #3678)
  4. @jonleighton

    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.
    
    Conflicts:
    
    	activerecord/CHANGELOG.md
  5. @jonleighton
Commits on Nov 18, 2011
  1. @tenderlove

    fixing my bad merge. doh!

    tenderlove authored
  2. @tenderlove

    Merge pull request #3683 from christos/schema_introspection_speedup

    tenderlove authored
    Only used detailed schema introspection when doing a schema dump.
    Conflicts:
    
    	activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
  3. @jonleighton
Commits on Nov 15, 2011
  1. @jonleighton

    Merge pull request #3633 from Juanmcuello/3-1-stable

    jonleighton authored
    Backport #3232 to 3-1-stable
  2. @Juanmcuello

    Backport #3232 to 3-1-stable.

    Juanmcuello authored
    Use the schema_search_path in prepared statements in postgres.
    
    Only the tests are backported, the fix was already included by
    commit 818d285.
Commits on Nov 14, 2011
  1. @jonleighton
  2. @jonleighton
Something went wrong with that request. Please try again.