aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/primary_keys_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove duplicated composite primary key testsRyuta Kamizono2016-02-011-1/+1
* Merge pull request #23345 from yui-knk/warning_when_composite_primary_key_is_...Rafael França2016-01-301-0/+7
|\
| * Warn if `AR.primary_key` is called for a table who has composite primary keyyui-knk2016-01-301-0/+7
* | There is no need to define test if a connection does not support primary_keyyui-knk2016-01-311-11/+9
|/
* Remove legacy mysql adapterAbdelkader Boudih2015-12-171-3/+3
* Deprecate `#table_exists?`, `#tables` and passing arguments to `#talbes`yui-knk2015-11-091-1/+1
* Allow bigint with default nil for avoiding auto increment primary keyRyuta Kamizono2015-11-021-0/+26
* Merge pull request #17696 from kamipo/unsigned_integer_supportJeremy Daer2015-09-191-1/+2
|\
| * Add `unsigned` support for numeric data types in MySQLRyuta Kamizono2015-09-181-1/+2
* | Correctly dump composite primary keyRyuta Kamizono2015-09-201-0/+27
|/
* Added test case for serial? method when sequence name is not quotedPrathamesh Sonpatki2015-05-221-0/+6
* Fix `serial?` with quoted sequence nameRyuta Kamizono2015-05-181-0/+8
* use Model.reset_column_information to clear table cache connection wide.Kuldeep Aggarwal2015-03-311-1/+2
* Closes rails/rails#18864: Renaming transactional fixtures to transactional testsBrandon Weiss2015-03-161-4/+4
* Allow `:limit` option for MySQL bigint primary key supportRyuta Kamizono2015-02-241-0/+10
* Prefer `drop_table if_exists: true` over raw SQLRyuta Kamizono2015-02-181-1/+1
* Replace `if exists` with `table_exists?` and drop table statement with `drop_...Yasuo Honda2015-01-211-1/+1
* Improve a dump of the primary key support.Ryuta Kamizono2014-12-291-0/+19
* Add bigint primary key support for MySQL.Ryuta Kamizono2014-12-281-6/+13
* Support for any type primary key.Ryuta Kamizono2014-12-281-0/+24
* Define id_was to get the previous value of the primary keyRafael Mendonça França2014-08-061-0/+10
* Move writing unknown column exception to null attributeSean Griffin2014-06-261-2/+10
* test refactor, don't hardcode `primary_key_prefix_type` default.Yves Senn2014-06-061-0/+3
* Remove `Column#primary`Sean Griffin2014-05-231-32/+0
* Handle other pk types in PostgreSQL gracefully.Patrick Robertson2014-05-121-0/+26
* docs, AR already auto-detects primary keys. Closes #13946. [ci skip]Yves Senn2014-02-051-1/+5
* Remove more skipRafael Mendonça França2013-11-081-2/+0
* Don't skip tests if we don't need to.Rafael Mendonça França2013-11-081-9/+10
* Fix class and method name typosVipul A M2013-05-121-1/+1
* Revert "Merge pull request #10455 from patricksrobertson/bigserial_id_not_ide...Aaron Patterson2013-05-071-29/+0
* Handle other pk types in PostgreSQL gracefully.Patrick Robertson2013-05-071-0/+29
* Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by"Guillermo Iguaran2013-01-181-1/+1
* User Rails 4 find_byrobertomiranda2013-01-181-1/+1
* Standardize the use of current_adapter?Rafael Mendonça França2013-01-011-3/+3
* Remove ActiveRecord::ModelJon Leighton2012-10-261-2/+2
* fix build 5001, model reply is required in cases/primary_keys_test too!Vishnu Atrai2012-02-121-0/+1
* removed unuseful require for reply as we are not using require modelKarunakar (Ruby)2012-02-111-1/+0
* Fix GH #4754. Remove double-quote when using ANSI_QUOTESkennyj2012-01-311-0/+16
* Fix CIJon Leighton2011-12-281-2/+2
* Cache columns at the model level.Jon Leighton2011-12-161-8/+30
* Fix #3987.Jon Leighton2011-12-151-0/+10
* 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