aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* 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
* | | Remove deprecation of using ActiveRecord::Base instance in .updateRafael Mendonça França2017-01-031-2/+2
* | | Fix test name `deprecated` to `not_permitted`Ryuta Kamizono2017-01-031-2/+2
|/ /
* | Merge pull request #25460 from maclover7/jm-uncachedSean Griffin2017-01-031-0/+21
|\ \
| * | Add explicit testing for `uncached` vs. `cached`Jon Moss2016-06-211-0/+21
* | | Compare deserialized values for `PostgreSQL::OID::Hstore` typesJon Moss2017-01-031-0/+19
* | | Raise ArgumentError when a instance of ActiveRecord::Base is passed toRafael Mendonça França2017-01-031-3/+3
* | | Merge pull request #27335 from kamipo/remove_duplicated_model_definitionSean Griffin2017-01-032-10/+4
|\ \ \
| * | | Remove duplicated model class definitions in `test/cases/base_test.rb`Ryuta Kamizono2016-12-122-10/+4
* | | | Consistently apply adapter behavior when serializing arraysSean Griffin2017-01-032-4/+15
* | | | Cache results of computing model typeKonstantin Lazarev2017-01-032-8/+14
* | | | Merge pull request #27543 from kamipo/fix_update_counters_of_multiple_records...Kasper Timm Hansen2017-01-022-15/+10
|\ \ \ \