aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Add assertion messagesAkira Matsuda2017-01-252-2/+2
* Deprecate `initialize_schema_migrations_table` and `initialize_internal_metad...Ryuta Kamizono2017-01-202-6/+10
* Revert "Merge pull request #27718 from kamipo/remove_internal_public_methods"Matthew Draper2017-01-202-5/+5
* assert_send is going to be deprecated since minitest 5.10.0Akira Matsuda2017-01-182-2/+2
* Make sure to clear query cache to prevent sporadic test failureAkira Matsuda2017-01-181-0/+4
* :warning: "Use assert_nil if expecting nil. This will fail in MT6."Akira Matsuda2017-01-184-7/+22
* Remove `initialize_schema_migrations_table` and `initialize_internal_metadata...Ryuta Kamizono2017-01-182-5/+5
* Merge pull request #27700 from kenta-s/remove-meaningless-line-from-adapter-testAndrew White2017-01-171-1/+0
|\
| * Remove meaningless line from adapter_test.rbkenta-s2017-01-161-1/+0
* | SQLite: Foreign Key SupportRyuta Kamizono2017-01-173-27/+47
* | Should work foreign key in test schema without `if supports_foreign_keys?` st...Ryuta Kamizono2017-01-172-8/+6
* | Merge pull request #27701 from kamipo/translate_foreign_key_violationAndrew White2017-01-161-45/+53
|\ \
| * | Translate Foreign Key violation to the specific exception for SQLite3 adapterRyuta Kamizono2017-01-161-45/+53
| |/
* / Allow SQLServerAdapter to opt into a few tests.Ken Collins2017-01-163-4/+4
|/
* Merge pull request #27683 from eugeneius/update_counters_empty_touch_testKasper Timm Hansen2017-01-151-0/+9
|\
| * Add test for update_counters with empty touchEugene Kenny2017-01-151-0/+9
* | Merge pull request #27618 from kamipo/fix_uuid_default_nilKasper Timm Hansen2017-01-151-19/+36
|\ \ | |/ |/|
| * Fix UUID primary key with default nil in legacy migrationRyuta Kamizono2017-01-091-0/+19
| * Should test uuid legacy migration without `supports_pgcrypto_uuid?`Ryuta Kamizono2017-01-091-19/+17
* | Merge pull request #27660 from akihiro17/updates-timestampKasper Timm Hansen2017-01-141-0/+16
|\ \
| * | Add the touch option to ActiveRecord#increment! and decrement!akihiro172017-01-141-0/+16
* | | Fix pool_from_any_process to use most recent speceileencodes2017-01-131-0/+35
|/ /
* | class Foo < Struct.new(:x) creates an extra unneeded anonymous classAkira Matsuda2017-01-133-3/+3
* | Reduce string objects by using \ instead of + or << for concatenating stringsAkira Matsuda2017-01-124-6/+6
* | oops! :scream_cat:Akira Matsuda2017-01-101-1/+1
* | Use temporary connection pool for the tests clearing AR::Base's active_connec...Akira Matsuda2017-01-101-59/+92
* | Reconnecting AR::Base's connection breaks sqlite3_mem testsAkira Matsuda2017-01-101-2/+6
* | sqlite3_mem tests are broken since 79887593c18919fed49f441d64236362cb755872Akira Matsuda2017-01-101-0/+2
* | activerecord/test: Fix Mysql2ConnectionTest#test_execute_after_disconnectDylan Thacker-Smith2017-01-091-1/+2
* | Deprecate reflection class name to accept a classKir Shatrov2017-01-093-3/+11
|/
* Merge pull request #27603 from prathamesh-sonpatki/fix-random-failureSantiago Pastorino2017-01-081-0/+2
|\
| * Fix random failure related to migration environmentPrathamesh Sonpatki2017-01-071-0/+2
* | Merge pull request #27602 from prathamesh-sonpatki/followup-27596Santiago Pastorino2017-01-081-1/+8
|\ \
| * | Followup of #27596, test output of "run" method as wellPrathamesh Sonpatki2017-01-071-1/+8
| |/
* | Merge pull request #27598 from NickLaMuro/fix-deep-nesting-where-clauses-with...Sean Griffin2017-01-071-0/+17
|\ \ | |/ |/|
| * Add failing test for where with joinsNick LaMuro2017-01-061-0/+17
* | Preserve `up` and `down` return typeschneems2017-01-061-0/+14
|/
* Privatize unneededly protected methods in Active RecordAkira Matsuda2017-01-052-4/+2
* `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-057-8/+8
* Fix style guide violationsRafael Mendonça França2017-01-051-3/+3
* Require "models/post" before "models/comment"Yasuo Honda2017-01-042-2/+2
* Raise error when has_many through is defined before through associationChris Holmes2017-01-042-0/+14
* Fix `find_by` and `where` consistencyRyuta Kamizono2017-01-041-0/+5
* Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-0322-149/+110
* Merge pull request #27563 from kamipo/fix_typoRafael França2017-01-031-1/+1
|\
| * Fix typo s/permited/permitted/Ryuta Kamizono2017-01-041-1/+1
* | Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-s...Rafael França2017-01-0322-110/+149
|\ \ | |/ |/|
| * Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-0322-110/+149
* | Merge pull request #26689 from kamipo/deprecate_passing_name_to_indexesRafael Mendonça França2017-01-032-2/+2
|\ \
| * | Deprecate passing `name` to `indexes` like `tables`Ryuta Kamizono2017-01-042-2/+2