aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #35441 from kamipo/allow_from_with_index_hintRyuta Kamizono2019-03-011-10/+22
|\
| * Relax table name detection in `from` to allow any extension like INDEX hintRyuta Kamizono2019-03-011-10/+22
* | Merge pull request #35431 from kamipo/enable_sql_cache_on_findRyuta Kamizono2019-03-011-3/+22
|\ \ | |/ |/|
| * Enable SQL statement cache for `find` on base class as with `find_by`Ryuta Kamizono2019-03-011-3/+22
* | Merge pull request #33611 from willianveiga/feature/reselect-methodAndrew White2019-03-011-0/+5
|\ \
| * \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-172-1/+27
| |\ \
| * \ \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-1125-115/+574
| |\ \ \
| * \ \ \ Merge branch 'master' into feature/reselect-methodWillian Gustavo Veiga2018-10-0295-614/+1609
| |\ \ \ \
| * | | | | Add reselect methodWillian Gustavo Veiga2018-08-131-0/+5
* | | | | | Remove unused requiresRyuta Kamizono2019-03-011-2/+0
| |_|_|_|/ |/| | | |
* | | | | Avoid `Topic.dup` to prevent weird test failureRyuta Kamizono2019-03-011-1/+1
* | | | | Reset dirty `topics` table for `SerializedAttributeTest`Ryuta Kamizono2019-03-011-1/+1
* | | | | Use dedicated `Topic` model for `SerializedAttributeTest`Ryuta Kamizono2019-02-282-24/+14
* | | | | Allow returning nil for `default_scope`Ryuta Kamizono2019-02-281-0/+1
* | | | | Fix indentation [ci skip]Ryuta Kamizono2019-02-271-2/+2
* | | | | 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-263-2/+10
* | | | | Fix preload with nested associationsRafael Mendonça França2019-02-262-0/+11
* | | | | :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-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
|\ \ \ \ \ \ \