aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Replaced usage of where.delete/destroy_all with delete/destroy_byAbhay Nikam2019-02-201-1/+1
* Introduce delete_by and destroy_by methods to ActiveRecord::RelationAbhay Nikam2019-02-191-0/+18
* Don't allow `where` with invalid value matches to nil valuesRyuta Kamizono2019-02-182-2/+12
* Extract duplicated `serialize` methods into helpersRyuta Kamizono2019-02-181-0/+3
* Remove duplicated `test_update_all_with_order_and_limit`Ryuta Kamizono2019-02-181-6/+0
* Fix eager loading polymorphic association with mixed table conditionsRyuta Kamizono2019-02-182-1/+14
* Merge pull request #35274 from AlexBrodianoi/fix_does_not_support_reverseRyuta Kamizono2019-02-171-0/+9
|\
| * Raise ActiveRecord::IrreversibleOrderError if nulls first/last is not a singl...Finn Young2019-02-171-0/+9
* | Fix `order` with custom attributesRyuta Kamizono2019-02-173-2/+13
* | Merge pull request #35299 from kamipo/fix_mismatched_foreign_keyRyuta Kamizono2019-02-171-3/+80
|\ \
| * | Fix the regex that extract mismatched foreign key informationRyuta Kamizono2019-02-171-3/+80
|/ /
* | Remove `NoForeignKeySupportTest` which is no longer reachedRyuta Kamizono2019-02-162-46/+0
* | Merge pull request #35286 from matthewdunbar/masterRyuta Kamizono2019-02-161-0/+12
|\ \
| * | Properly handle cached queries with too many bind parametersMatthew Dunbar2019-02-141-0/+10
* | | Deprecate using class level querying methods if the receiver scope regarded a...Ryuta Kamizono2019-02-152-14/+22
* | | Revert "Merge pull request #35186 from kamipo/fix_leaking_scope_on_relation_c...Ryuta Kamizono2019-02-153-12/+36
|/ /
* | Merge pull request #35242 from eileencodes/add-setter-and-deprecation-for-con...Eileen M. Uchitelle2019-02-142-43/+117
|\ \ | |/ |/|
| * Improve errors and handling of hashes for database configurationseileencodes2019-02-142-43/+117
* | Revert "Chaining named scope is no longer leaking to class level querying met...Ryuta Kamizono2019-02-143-6/+4
* | Merge pull request #35244 from palkan/fix/activerecord-database-uri-resolveEileen M. Uchitelle2019-02-131-0/+10
|\ \
| * | Fix database configurations building when DATABASE_URL presentVladimir Dementyev2019-02-121-0/+10
* | | Revert "Merge pull request #35127 from bogdan/counter-cache-loading"Ryuta Kamizono2019-02-131-36/+14
|/ /
* | Merge pull request #35237 from eileencodes/fix-teardown-in-db-selector-testEileen M. Uchitelle2019-02-121-0/+4
|\ \
| * | Fix DatabaseSelector test that fails sometimeseileencodes2019-02-121-0/+4
| |/
* / Fix `pluck` and `select` with custom attributesRyuta Kamizono2019-02-138-7/+31
|/
* Add `remove_foreign_key` for `change_table`Ryuta Kamizono2019-02-111-0/+11
* SQLite3: Implement `add_foreign_key` and `remove_foreign_key`Ryuta Kamizono2019-02-114-15/+47
* More exercise table name prefix and suffix testsRyuta Kamizono2019-02-111-25/+81
* Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2019-02-101-3/+3
* Merge pull request #35203 from chiastolite/add_column_without_column_namesRyuta Kamizono2019-02-101-0/+11
|\
| * Do not allow to add column without column nameHiroyuki Morita2019-02-101-0/+9
|/
* Merge pull request #35193 from kamipo/fix_exists_with_distinct_and_offsetRyuta Kamizono2019-02-081-0/+10
|\
| * Fix `relation.exists?` with giving both `distinct` and `offset`Ryuta Kamizono2019-02-081-0/+10
* | Merge pull request #35178 from bogdan/has-many-sizeRyuta Kamizono2019-02-081-0/+15
|\ \ | |/ |/|
| * Bugfix has_many association #size when ids reader is cached and association i...Bogdan Gusiev2019-02-081-0/+15
* | Address `test_belongs_to_does_not_use_order_by` failure due to checking order...Yasuo Honda2019-02-082-3/+4
* | Fix `relation.create` to avoid leaking scope to initialization block and call...Ryuta Kamizono2019-02-073-4/+24
* | Fix `CollectionProxy#concat` to return self by alias it to `#<<`Yuya Tanaka2019-02-062-2/+4
* | Relation no longer respond to Arel methodsRyuta Kamizono2019-02-062-18/+7
* | Merge pull request #32380 from kamipo/fix_leaking_scopeRyuta Kamizono2019-02-062-0/+17
|\ \
| * | Chaining named scope is no longer leaking to class level querying methodsRyuta Kamizono2019-02-062-0/+17
| |/
* / Respect ENV variables when finding DBs etc for the test suiteMatthew Draper2019-02-061-0/+6
|/
* Merge pull request #35127 from bogdan/counter-cache-loadingRyuta Kamizono2019-02-051-5/+35
|\
| * Bugfix association loading behavior when counter cache is zeroBogdan Gusiev2019-02-051-5/+35
* | Merge pull request #35089 from eileencodes/fix-query-cache-for-database-switc...Eileen M. Uchitelle2019-02-041-0/+38
|\ \
| * | Invalidate query cache for all connections in the current threadEileen Uchitelle2019-02-011-0/+38
* | | Merge pull request #35132 from eileencodes/allow-application-to-change-handle...Eileen M. Uchitelle2019-02-043-0/+48
|\ \ \
| * | | Add ability to change the names of the default handlersEileen Uchitelle2019-02-013-0/+48
| |/ /
* | | Merge pull request #35130 from rails/move-delay-to-options-argumentEileen M. Uchitelle2019-02-011-0/+48
|\ \ \
| * | | Refactor options for middlewareEileen Uchitelle2019-02-011-0/+48
| |/ /