aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/finder_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix `relation.exists?` with giving `distinct`, `offset` and `order` for joine...Takayuki Nakata2019-07-101-0/+5
* Should `Regexp.escape` quoted table name in regexRyuta Kamizono2019-07-081-1/+2
* Add test cases to ensure deterministic order for ordinal methodsRyuta Kamizono2019-06-191-0/+6
* Fix random CI failure due to non-deterministic sorting orderRyuta Kamizono2019-03-111-5/+6
* Remove duplicated protected params definitionsRyuta Kamizono2019-02-241-3/+3
* Fix `relation.exists?` with giving both `distinct` and `offset`Ryuta Kamizono2019-02-081-0/+10
* activerecord: Fix where nil condition on composed_of attributeDylan Thacker-Smith2019-01-181-0/+18
* All of queries should return correct result even if including large numberRyuta Kamizono2019-01-181-0/+14
* Merge pull request #34963 from dylanahsmith/better-composed-of-single-field-q...Rafael França2019-01-171-0/+1
|\
| * activerecord: Use a simpler query condition for aggregates with one mappingDylan Thacker-Smith2019-01-171-0/+1
* | Ensure that AR::Relation#exists? allows only permitted paramsbogdanvlviv2019-01-171-2/+6
|/
* Allow strong params in ActiveRecord::Base#exists?Gannon McGibbon2019-01-071-0/+9
* Module#{define_method,alias_method,undef_method,remove_method} become public ...Ryuta Kamizono2018-12-211-1/+1
* Make implicit order column configurableTekin Suleyman2018-11-261-0/+10
* `exists?` with string argument is not invalid typeRyuta Kamizono2018-10-271-5/+13
* Ignore empty condition on #construct_relation_for_existsr7kamura2018-10-271-0/+4
* Don't return the same object when using find with an empty arrayRafael Mendonça França2018-09-191-1/+4
* Revert "Merge pull request #24131 from brchristian/limit_and_primary_key"Ryuta Kamizono2018-08-011-15/+0
* Add test case for the #5153's default order contractRyuta Kamizono2018-08-011-0/+13
* tests for use of primary_key with limitBrian Christian2018-07-191-0/+15
* Add missing test case for `find` with a large numberRyuta Kamizono2018-06-221-0/+6
* Address CI failure due to non-deterministic query resultRyuta Kamizono2018-05-061-1/+1
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-2/+2
* Fix `#columsn_for_distinct` of MySQL and PostgreSQLkg8m2018-02-271-0/+5
* More exercise range predicate builderRyuta Kamizono2018-02-231-0/+9
* Fix expanding an array of `composed_of` objects which have multiple mappingsRyuta Kamizono2018-01-291-4/+5
* Merge pull request #31724 from orekyuu/fix-expand-composed-object-arrayRyuta Kamizono2018-01-291-0/+18
|\
| * Allow expanding an array of `composed_of` objectsRyuta Kamizono2018-01-291-3/+2
| * Fix not expanded problem when passing an Array object as argument to the wher...orekyuu2018-01-261-0/+19
* | Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-2/+2
|/
* Make `relation.exists?` more performant when using eager loadingRyuta Kamizono2018-01-111-10/+12
* resolve inconsistencies between first and to_a.first with limitBrian Christian2018-01-091-0/+18
* Fix `last` with `offset` to behave consistently with loaded relationRyuta Kamizono2018-01-071-8/+4
* assert_nothing_raised not required here, we can assert directly for the actua...Prathamesh Sonpatki2017-12-191-4/+2
* Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the futureRyuta Kamizono2017-12-141-1/+1
* Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed moreRyuta Kamizono2017-12-121-1/+1
* Revert "Merge pull request #31006 from rails/kamipo/ordinal_methods_should_re...eileencodes2017-11-261-16/+0
* Merge pull request #31184 from TheSmartnik/fix_record_not_found_on_reloadRafael França2017-11-251-0/+15
|\
| * Provide arguments to RecordNotFoundNikita Misharin2017-11-251-0/+15
* | Merge pull request #31006 from rails/kamipo/ordinal_methods_should_respect_lo...Eileen M. Uchitelle2017-11-251-0/+16
|\ \ | |/ |/|
| * Ordinal methods should respect loaded recordsRyuta Kamizono2017-10-281-0/+16
* | try using regexesBen Toews2017-11-091-7/+7
* | allow table name and direction in string order argBen Toews2017-11-091-11/+11
* | work around deprecation warnings in a bunch of testsBen Toews2017-11-091-20/+20
|/
* All test cases for `exists?` places in `finder_test.rb` to ease to find the t...Ryuta Kamizono2017-10-091-0/+26
* Fix `relation.exists?` with has_many through associationsRyuta Kamizono2017-10-091-0/+8
* Merge pull request #29720 from gaurish/ar_find_error_message_improvementRafael França2017-08-111-1/+1
|\
| * Return Not found Ids in ActiveRecord::NotFoundGaurish Sharma2017-07-291-1/+1
* | Merge pull request #29842 from kamipo/fix_find_by_with_rangeMatthew Draper2017-08-021-0/+4
|\ \ | |/ |/|
| * Fix `find_by` with range conditionsRyuta Kamizono2017-07-201-0/+4