Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 13, 2011
  1. @jonleighton

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

    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. @spastorino

    Revert f1c13b0

    spastorino authored
Commits on Nov 9, 2010
  1. @dchelimsky @spastorino

    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. @tenderlove
Commits on Sep 24, 2010
  1. @miloops @spastorino

    Perf: refactor method.

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

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

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

    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. @tenderlove
  3. @tenderlove
Commits on Aug 2, 2010
  1. @neerajdotname
Commits on Jul 21, 2010
  1. @josevalim
  2. @neerajdotname @josevalim

    Timestamp columns of HABTM join table should record timestamps

    neerajdotname authored josevalim committed
    [#5161 state:resolved]
  3. @spastorino @tenderlove

    id is a public method

    spastorino authored tenderlove committed
Commits on Jul 20, 2010
  1. @neerajdotname @tenderlove

    Ensure that primary_keys of HABTM records is not double quoted

    neerajdotname authored tenderlove committed
    [#5152 state:reslved]
Commits on Jun 16, 2010
  1. @rizwanreza
Commits on Jan 17, 2010
  1. @josevalim
Commits on Jan 1, 2010
  1. @lifo
Commits on Dec 31, 2009
  1. @lifo
Commits on Dec 25, 2009
  1. @lifo
Commits on Nov 23, 2009
  1. @jeremy

    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

    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
Commits on Nov 3, 2009
  1. @jeremy
Commits on Sep 14, 2009
  1. @miloops

    Merge commit 'rails/master'

    miloops authored
Commits on Sep 12, 2009
  1. @sdsykes @jeremy

    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. @miloops

    Merge commit 'rails/master'

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

    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. @miloops

    Merge commit 'rails/master'

    miloops authored
    Conflicts:
    	activerecord/lib/active_record/associations.rb
  2. @josevalim @jeremy

    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. @miloops
  2. @miloops
Commits on Aug 10, 2009
  1. @bellmyer @jeremy

    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.