aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/primary_keys_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Add test for read_attribute(:id) with non-standard PK.Jon Leighton2011-12-011-0/+5
* Deprecate set_primary_key in favour of self.primary_key=Jon Leighton2011-11-291-5/+2
* Transactional fixtures enlist all active database connections.Jeremy Kemper2011-10-051-0/+4
* Revert "Raise error on unknown primary key."Jon Leighton2011-10-051-14/+0
* Raise error on unknown primary key.Jon Leighton2011-10-051-0/+14
* Don't require a DB connection when setting primary key.Jon Leighton2011-09-261-0/+16
* Revert "to_key on a destroyed model should return nil". Closes #2440Santiago Pastorino2011-08-051-1/+1
* to_key on a destroyed model should return nilSantiago Pastorino2011-07-091-1/+1
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* Quote find_in_batches ORDER BY clause [#6620 state:resolved]Andrew White2011-03-291-0/+9
* code gardening: we have assert_(nil|blank|present), more concise, with better...Xavier Noria2010-08-171-1/+1
* Revert "Makes AR use AMo to_key implementation"Santiago Pastorino2010-08-151-1/+1
* Makes AR use AMo to_key implementationSantiago Pastorino2010-08-131-1/+1
* expected value should come first in assert_equalNeeraj Singh2010-07-181-2/+2
* primary_keys_test reads better than pk_testNeeraj Singh2010-07-181-0/+139