Skip to content
Commits on Jan 16, 2011
  1. @jonleighton

    Added deprecation warning for has_and_belongs_to_many associations wh…

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

    use persisted? instead of new_record? wherever possible

    dchelimsky committed with spastorino Nov 9, 2010
    - 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 Sep 22, 2010
    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 Aug 14, 2010
    …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 Aug 14, 2010
    This will hopefully make Active Record run a bit more faster.
  2. @tenderlove
  3. @tenderlove
Commits on Aug 2, 2010
  1. ensuring that description does not exceed 100 columns

    Neeraj Singh committed Aug 2, 2010
Commits on Jul 21, 2010
  1. @josevalim
  2. @josevalim

    Timestamp columns of HABTM join table should record timestamps

    Neeraj Singh committed with josevalim Jul 20, 2010
    [#5161 state:resolved]
  3. @spastorino @tenderlove

    id is a public method

    spastorino committed with tenderlove Jul 21, 2010
Commits on Jul 20, 2010
  1. @tenderlove

    Ensure that primary_keys of HABTM records is not double quoted

    Neeraj Singh committed with tenderlove Jul 19, 2010
    [#5152 state:reslved]
Commits on Jun 16, 2010
  1. @rizwanreza
Commits on Jan 17, 2010
  1. @josevalim
Commits on Jan 1, 2010
  1. @lifo

    Use Arel::Table instead of ActiveRecord::Relation from HABTM and has_…

    lifo committed Jan 1, 2010
    …many#delete_records
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 Nov 23, 2009
    …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 Nov 13, 2009
    … memoize the default relation."
    
    This reverts commit bd51790.
  2. @jeremy

    Split arel_table into method to get a relation and another to memoize…

    jeremy committed Nov 13, 2009
    … the default relation.
Commits on Nov 3, 2009
  1. @jeremy
Commits on Sep 14, 2009
  1. @miloops

    Merge commit 'rails/master'

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

    Fix habtm associations when using multiple databases

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

    Merge commit 'rails/master'

    miloops committed Sep 8, 2009
    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 Sep 2, 2009
    …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 Sep 1, 2009
    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 Sep 1, 2009
    …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 Mar 9, 2009
    …s a primary key. Caches this check to save time on subsequent inserts.
    
    [#2086 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  2. @bellmyer @jeremy

    raises exception (ActiveRecord::ConfigurationError with message) on h…

    bellmyer committed with jeremy Feb 26, 2009
    …abtm association creation if join table contains a primary key
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Something went wrong with that request. Please try again.