Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 13, 2011
  1. Jon Leighton

    Deprecated support for interpolated association conditions with the :…

    jonleighton authored
    …conditions => 'foo = #{bar}' syntax, and added the new interpolation syntax which is :conditions => proc { "foo = #{bar}" }.
Commits on Jan 16, 2011
  1. Jon Leighton

    Added deprecation warning for has_and_belongs_to_many associations wh…

    jonleighton authored
    …ere the join table has additional attributes other than the keys. Access to these attributes is removed in 3.1. Please use has_many :through instead.
Commits on Nov 28, 2010
  1. Santiago Pastorino

    Revert f1c13b0

    spastorino authored
Commits on Nov 9, 2010
  1. David Chelimsky Santiago Pastorino

    use persisted? instead of new_record? wherever possible

    dchelimsky authored spastorino committed
    - persisted? is the API defined in ActiveModel
    - makes it easier for extension libraries to conform to ActiveModel
      APIs
      without concern for whether the extended object is specifically
      ActiveRecord
    
    [#5927 state:committed]
    
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Commits on Sep 27, 2010
  1. Aaron Patterson
Commits on Sep 24, 2010
  1. Emilio Tagua Santiago Pastorino

    Perf: refactor method.

    miloops authored spastorino committed
    Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Commits on Aug 25, 2010
  1. Aaron Patterson
Commits on Aug 24, 2010
  1. Aaron Patterson
Commits on Aug 14, 2010
  1. Santiago Pastorino

    Deletes trailing whitespaces (over text files only find * -type f -ex…

    spastorino authored
    …ec sed 's/[ \t]*$//' -i {} \;)
Commits on Aug 13, 2010
  1. Prem Sichanugrist Aaron Patterson

    Removing most of the symbol to proc usage in Active Record

    sikachu authored tenderlove committed
    This will hopefully make Active Record run a bit more faster.
  2. Aaron Patterson
  3. Aaron Patterson
Commits on Aug 2, 2010
  1. Neeraj Singh
Commits on Jul 21, 2010
  1. José Valim
  2. Neeraj Singh José Valim

    Timestamp columns of HABTM join table should record timestamps

    neerajdotname authored josevalim committed
    [#5161 state:resolved]
  3. Santiago Pastorino Aaron Patterson

    id is a public method

    spastorino authored tenderlove committed
Commits on Jul 20, 2010
  1. Neeraj Singh Aaron Patterson

    Ensure that primary_keys of HABTM records is not double quoted

    neerajdotname authored tenderlove committed
    [#5152 state:reslved]
Commits on Jun 16, 2010
  1. Rizwan Reza
Commits on Jan 17, 2010
  1. José Valim
Commits on Jan 1, 2010
  1. Pratik
Commits on Dec 31, 2009
  1. Pratik
Commits on Dec 25, 2009
  1. Pratik
Commits on Nov 23, 2009
  1. Jeremy Kemper

    Revert "Revert "Assert primary key does not exist in habtm when the a…

    jeremy authored
    …ssociation is defined, instead of doing that everytime a record is inserted.""
    
    This reverts commit 2b82708.
    
    [#3128 state:resolved]
    
    Conflicts:
    
    	activerecord/lib/active_record/associations.rb
    	activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
Commits on Nov 13, 2009
  1. Jeremy Kemper

    Revert "Split arel_table into method to get a relation and another to…

    jeremy authored
    … memoize the default relation."
    
    This reverts commit bd51790.
  2. Jeremy Kemper
Commits on Nov 3, 2009
  1. Jeremy Kemper
Commits on Sep 14, 2009
  1. Emilio Tagua

    Merge commit 'rails/master'

    miloops authored
Commits on Sep 12, 2009
  1. Stephen Sykes Jeremy Kemper

    Fix habtm associations when using multiple databases

    sdsykes authored jeremy committed
    [#3128]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Sep 8, 2009
  1. Emilio Tagua

    Merge commit 'rails/master'

    miloops authored
    Conflicts:
    	activerecord/lib/active_record/associations.rb
Commits on Sep 2, 2009
  1. Jeremy Kemper

    Revert "Assert primary key does not exist in habtm when the associati…

    jeremy authored
    …on is defined, instead of doing that everytime a record is inserted."
    
    Test failures on PostgreSQL.
    
    [#3128 state:open]
    
    This reverts commit da63680.
Commits on Sep 1, 2009
  1. Emilio Tagua

    Merge commit 'rails/master'

    miloops authored
    Conflicts:
    	activerecord/lib/active_record/associations.rb
  2. José Valim Jeremy Kemper

    Assert primary key does not exist in habtm when the association is de…

    josevalim authored jeremy committed
    …fined, instead of doing that everytime a record is inserted.
    
    [#3128 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Aug 18, 2009
  1. Emilio Tagua
  2. Emilio Tagua
Commits on Aug 10, 2009
  1. Jaime Bellmyer Jeremy Kemper

    raises an exception on habtm join table inserts if join table contain…

    bellmyer authored jeremy committed
    …s a primary key. Caches this check to save time on subsequent inserts.
    
    [#2086 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Something went wrong with that request. Please try again.