Skip to content
Commits on Feb 13, 2011
  1. @jonleighton

    Deprecated support for interpolated association conditions with the :…

    jonleighton committed
    …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 committed
    …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 committed
Commits on Nov 9, 2010
  1. @dchelimsky @spastorino

    use persisted? instead of new_record? wherever possible

    dchelimsky committed with spastorino
    - 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 committed with spastorino
    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 committed
    …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 committed with tenderlove
    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
  3. @spastorino @tenderlove

    id is a public method

    spastorino committed with tenderlove
Commits on Jul 20, 2010
  1. @neerajdotname @tenderlove
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 committed
    …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 committed
    … 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 committed
Commits on Sep 12, 2009
  1. @sdsykes @jeremy

    Fix habtm associations when using multiple databases

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

    Merge commit 'rails/master'

    miloops committed
    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 committed
    …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 committed
    Conflicts:
    	activerecord/lib/active_record/associations.rb
  2. @josevalim @jeremy

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

    josevalim committed with jeremy
    …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 committed with jeremy
    …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.