aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
...
* | | | | | Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2019-02-271-5/+5
* | | | | | Fix test that was broken by adding a default scope to an existing modelRafael Mendonça França2019-02-261-2/+2
* | | | | | Fix preload with nested associationsRafael Mendonça França2019-02-261-0/+9
* | | | | | :scissors:Ryuta Kamizono2019-02-271-1/+1
* | | | | | Add negative scopes for all enum values (#35381)David Heinemeier Hansson2019-02-261-0/+5
| |_|_|_|/ |/| | | |
* | | | | Don't cache `find_by` statements on STI subclassesRyuta Kamizono2019-02-272-4/+20
* | | | | Test that no datetime precision isn't truncated on assignmentRyuta Kamizono2019-02-272-1/+41
* | | | | Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2019-02-271-5/+5
* | | | | Merge pull request #35361 from jvillarejo/fix_wrong_size_query_with_distinct_...Ryuta Kamizono2019-02-272-0/+25
|\ \ \ \ \
| * | | | | fixes different `count` calculation when using `size` manual `select` with DI...jvillarejo2019-02-262-0/+25
|/ / / / /
* | | | | 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-245-87/+10
* | | | | | 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
* | | | | | 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 #35247 from bogdan/fix-source-reflection-reset-codeRyuta Kamizono2019-02-202-3/+11
|\ \ \ \ \ \
| * | | | | | Fix reset of the source association when through association is loadedBogdan Gusiev2019-02-202-3/+11
* | | | | | | 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-181-1/+13
* | | | | | 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-172-2/+9
* | | | | | | 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