aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Partly revert #31819bogdanvlviv2018-10-261-26/+0
* `assert_called_with` should require `args` argumentbogdanvlviv2018-10-251-1/+1
* Lazy checking whether or not values in IN clause are boundableRyuta Kamizono2018-10-242-2/+2
* Add regression test against habtm memoized singular_idsAlberto Almagro2018-10-161-0/+12
* Fix Collection cache key with limit and custom select (PG:AmbigousColumn: Error)Federico Martinez2018-10-151-0/+14
* Ensure to test that `project.developers` is ordered by `developers.name desc`Ryuta Kamizono2018-10-151-1/+1
* Basic API for connection switchingEileen Uchitelle2018-10-101-0/+193
* Raise on invalid definition valuesAlberto Almagro2018-10-101-0/+11
* Merge pull request #34122 from kamipo/generate_relation_methodsRyuta Kamizono2018-10-102-0/+11
|\
| * Generate delegation methods to named scope in the definition timeRyuta Kamizono2018-10-092-0/+11
* | Merge pull request #34094 from christophemaximin/fix-activerecord-clearing-of...Ryuta Kamizono2018-10-103-0/+89
|\ \
| * | Clear QueryCache when reloading associationsChristophe Maximin2018-10-103-0/+89
* | | Call `load_schema` before `assert_no_queries`Ryuta Kamizono2018-10-101-0/+1
* | | Merge pull request #34081 from gmcgibbon/db_migrate_status_moveEileen M. Uchitelle2018-10-091-1/+23
|\ \ \ | |_|/ |/| |
| * | Move db:migrate:status to DatabaseTasks methodGannon McGibbon2018-10-081-1/+23
* | | Call `define_attribute_methods` before `assert_no_queries` to address CI flak...Ryuta Kamizono2018-10-095-9/+80
|/ /
* | Fix test name to add missing "set"Ryuta Kamizono2018-10-081-1/+1
* | Fix `AssociationRelation` not to set inverse instance key just like beforeRyuta Kamizono2018-10-071-0/+12
* | add test for cache_version precisionLachlan Sylvester2018-10-071-31/+55
* | Exercise stringify of database configurationsbogdanvlviv2018-10-051-0/+5
|/
* Remove `ignore_none: false` to assert no queries more strictlyRyuta Kamizono2018-10-057-31/+31
* Use `assert_no_queries` not to ignore BEGIN/COMMIT queriesRyuta Kamizono2018-10-0513-38/+37
* failing test for eager loadingMatt Jones2018-10-041-0/+5
* Merge pull request #33938 from faucct/bugfix/preload_through_no_recordsEileen M. Uchitelle2018-10-041-0/+5
|\
| * ActiveRecord::Associations::Preloader should not fail to preload through miss...Nikita Sokolov2018-10-021-0/+5
* | Escape table name so that it can be used in regular expressionAidan Haran2018-10-041-1/+1
|/
* Merge pull request #23593 from meinac/add_index_option_for_change_tableRyuta Kamizono2018-10-011-0/+8
|\
| * Index option added for change_table migrationsMehmet Emin INAC2018-09-221-0/+8
* | Handle DELETE with LIMIT in ArelRyuta Kamizono2018-09-301-0/+1
* | `SQLString#compile` is no longer used since 53521a9e39b9d8af4165d7703c36dc905...Ryuta Kamizono2018-09-301-11/+5
* | Remove `visit_Fixnum` and `visit_Bignum`Ryuta Kamizono2018-09-301-1/+1
* | Make `test_initialize_with_invalid_attribute` work correctlyyuuji.yaginuma2018-09-301-4/+6
* | Bugfix ActiveRecord::Relation#merge special case of from clauseBogdan Gusiev2018-09-281-0/+4
* | Merge pull request #31604 from fatkodima/reverting-transactionEileen M. Uchitelle2018-09-273-0/+40
|\ \
| * | Fix `transaction` reverting for migrationsfatkodima2018-09-263-0/+40
* | | Avoid extra touch queries when counter cache is updatedRyuta Kamizono2018-09-271-4/+8
* | | Use -X when loading structure.sql via psqlJ Smith2018-09-271-3/+3
* | | Removed invalid -X flag for pg_dumpMatthias Winkelmann2018-09-271-7/+7
|/ /
* | Merge pull request #33983 from gmcgibbon/raise_if_fixture_path_blankRafael França2018-09-261-0/+16
|\ \
| * | Raise an error when loading all fixtures from nil fixture_pathGannon McGibbon2018-09-261-0/+16
* | | Merge pull request #31819 from bpohoriletz/masterEileen M. Uchitelle2018-09-261-0/+26
|\ \ \
| * | | If association is a hash-like object preloading failsBohdan Pohorilets2018-09-261-0/+26
* | | | Remove force parent loading when counter cache child is created/destroyedRyuta Kamizono2018-09-261-1/+5
| |/ / |/| |
* | | Revert "Remove `counter_cache_target` which is no longer called"Ryuta Kamizono2018-09-261-1/+1
* | | Update counter cache in memory if parent target is existedRyuta Kamizono2018-09-261-0/+32
|/ /
* | Fix "warning: shadowing outer local variable - config"yuuji.yaginuma2018-09-261-2/+2
* | Merge pull request #33968 from gmcgibbon/stringify_db_configurationsRafael França2018-09-251-0/+24
|\ \
| * | Stringify database configurationsGannon McGibbon2018-09-241-0/+24
* | | Change the empty block style to have space inside of the blockRafael Mendonça França2018-09-2517-40/+40
* | | Abandon TOP support.Vladimir Kochnev2018-09-253-4/+2
|/ /