Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 22, 2012
  1. Aaron Patterson

    updating RAILS_VERSION

    tenderlove authored
  2. Aaron Patterson
  3. Aaron Patterson
  4. Aaron Patterson

    bumping up arel

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

    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. Toshinori Kajihara
Commits on Jan 12, 2012
  1. Tom Stuart
  2. Tom Stuart
  3. Tom Stuart
Commits on Dec 18, 2011
  1. Sergey Nartimov
Commits on Dec 15, 2011
  1. Jon Leighton

    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. Jon Leighton

    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. Jon Leighton

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

    jonleighton authored
    Conflicts:
    
    	activerecord/test/models/post.rb
  2. Vijay Dev

    fix a bad url

    vijaydev authored
  3. José Valim

    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. Toshinori Kajihara Jon Leighton

    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. Jon Leighton

    Avoid postgres 9.X syntax

    jonleighton authored
Commits on Nov 30, 2011
  1. Jon Leighton
  2. Julius de Bruijn Jon Leighton

    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. Arun Agrawal José Valim

    Bump Mysql2!

    arunagw authored josevalim committed
Commits on Nov 20, 2011
  1. Jon Leighton
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. Toshinori Kajihara Jon Leighton

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

    kennyj authored jonleighton committed
    …rformance problem (GH #3678)
  4. 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.
    
    Conflicts:
    
    	activerecord/CHANGELOG.md
  5. Jon Leighton
Commits on Nov 18, 2011
  1. Aaron Patterson

    fixing my bad merge. doh!

    tenderlove authored
  2. Aaron Patterson

    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. Jon Leighton
Commits on Nov 15, 2011
  1. Jon Leighton

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

    jonleighton authored
    Backport #3232 to 3-1-stable
  2. Juan M. Cuello

    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. Jon Leighton
  2. Jon Leighton
Something went wrong with that request. Please try again.