aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/finder_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
|/
* Skip query cache for in_batches and friendsEugene Kenny2017-07-061-0/+28
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Remove the redundant `test_find_all_with_join` in ARKoichi ITO2017-06-021-10/+0
* Remove a redundant test assertionKoichi ITO2017-05-271-1/+0
* exclude ORDER BY clause for exists? (#28699)Boris Slobodin2017-04-101-0/+5
* More exercise `exists?` testsRyuta Kamizono2017-04-081-5/+18
* Fix `find_nth` with `limit_value`Ryuta Kamizono2017-02-261-3/+3
* Correct spellingBenjamin Fleischer2017-02-051-4/+4
* Fix `find_by` and `where` consistencyRyuta Kamizono2017-01-041-0/+5
* Fix test name `deprecated` to `not_permitted`Ryuta Kamizono2017-01-031-2/+2
* Raise ArgumentError when a instance of ActiveRecord::Base is passed toRafael Mendonça França2017-01-031-3/+3
* Raises IrreversibleOrderError when using last with an irreversible orderRafael Mendonça França2016-12-291-1/+1
* "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-12/+12
* Privatize unneededly protected methods in Active Record testsAkira Matsuda2016-12-241-1/+1
* Remove duplicated lineRyuta Kamizono2016-12-111-1/+0