aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
...
* | | | | Merge pull request #35402 from alimi/update-ar-read-regexAaron Patterson2019-02-253-0/+28
|\ \ \ \ \
| * | | | | Update READ_QUERY regexAli Ibrahim2019-02-253-0/+28
* | | | | | Refactor `type_to_sql` to handle converting `limit` to `size` in itselfRyuta Kamizono2019-02-262-9/+31
* | | | | | Fix prepared statements caching to be enabled even when query caching is enabledRyuta Kamizono2019-02-261-2/+55
|/ / / / /
* | | | | Merge pull request #35352 from kamipo/update_all_doesnt_care_optimistic_lockingRyuta Kamizono2019-02-252-9/+64
|\ \ \ \ \
| * | | | | Ensure `update_all` series cares about optimistic lockingRyuta Kamizono2019-02-252-9/+64
* | | | | | Remove duplicated protected params definitionsRyuta Kamizono2019-02-246-88/+30
* | | | | | Add test case for `unscope` with `merge`Ryuta Kamizono2019-02-241-0/+13
* | | | | | More exercise string attribute predicate tests for falsy stringsRyuta Kamizono2019-02-241-0/+4
* | | | | | Add test case for `unscope` with unknown columnRyuta Kamizono2019-02-241-0/+11
* | | | | | More exercise tests for distinct count with group byRyuta Kamizono2019-02-241-2/+16
* | | | | | Make `test_select_with_subquery_in_from_uses_original_table_name` work with o...yuuji.yaginuma2019-02-231-7/+2
* | | | | | Skip `test_select_with_subquery_in_from_uses_original_table_name` on CIRyuta Kamizono2019-02-231-1/+1
* | | | | | Skip `test_select_with_subquery_in_from_uses_original_table_name` on Buildkit...Ryuta Kamizono2019-02-221-2/+5
* | | | | | Just skip `test_select_with_subquery_in_from_uses_original_table_name` on TravisRyuta Kamizono2019-02-221-0/+3
* | | | | | Fix `pluck` and `select` with `from` if `from` has original table nameRyuta Kamizono2019-02-221-0/+36
|/ / / / /
* | | | | Merge pull request #35336 from kamipo/dont_allow_non_numeric_string_matches_t...Ryuta Kamizono2019-02-211-1/+2
|\ \ \ \ \
| * | | | | Don't allow `where` with non numeric string matches to 0 valuesRyuta Kamizono2019-02-201-1/+2
* | | | | | Address "warning: in `column': the last argument was passed as a single Hash"Ryuta Kamizono2019-02-211-7/+8
* | | | | | More exercise test cases for order by table name qualified column nameRyuta Kamizono2019-02-211-8/+8
* | | | | | Merge pull request #35263 from hatch-carl/reduce-postgres-uuid-allocationsRyuta Kamizono2019-02-211-1/+13
|\ \ \ \ \ \
| * | | | | | Reduce unused allocations when casting UUIDs for PostgresCarl Thuringer2019-02-201-1/+13
* | | | | | | Merge pull request #35327 from abhaynikam/use-delete-by-and-destroy-by-methodRyuta Kamizono2019-02-201-1/+1
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Replaced usage of where.delete/destroy_all with delete/destroy_byAbhay Nikam2019-02-201-1/+1
* | | | | | | Merge pull request #35247 from bogdan/fix-source-reflection-reset-codeRyuta Kamizono2019-02-203-3/+12
|\ \ \ \ \ \ \
| * | | | | | | Fix reset of the source association when through association is loadedBogdan Gusiev2019-02-203-3/+12
* | | | | | | | PostgreSQL: Support endless range values for range typesRyuta Kamizono2019-02-201-0/+16
* | | | | | | | Add delegation tests for delete_by and destroy_by methodsAbhay Nikam2019-02-201-1/+1
| |_|/ / / / / |/| | | | | |
* | | | | | | Merge pull request #35271 from gmcgibbon/fix_time_attribute_test_failuresGannon McGibbon2019-02-191-0/+4
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Reset column info after making Topic tz-awareGannon McGibbon2019-02-181-0/+4
* | | | | | | 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