aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/finder_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-26/+26
* improve error message when include assertions failMichael Grosser2016-09-161-3/+3
* Merge pull request #25671 from kamipo/dont_handle_as_associated_predicate_if_...Rafael França2016-08-161-2/+2
|\
| * Do not handle as an associated predicate if a table has the columnRyuta Kamizono2016-08-161-2/+2
* | Merge pull request #26000 from kamipo/remove_sanitizeRafael França2016-08-161-5/+0
|\ \ | |/ |/|
| * Remove internal `sanitize` methodRyuta Kamizono2016-07-311-5/+0
* | Merge pull request #26097 from Dagnan/fix_recordnotfound_args_rebasedRafael França2016-08-161-0/+10
|\ \
| * | When calling association.find RecordNotFound is now raised with the same argu...Michel Pigassou2016-08-131-0/+10
* | | Add three new rubocop rulesRafael Mendonça França2016-08-161-6/+6
|/ /
* | Use `FETCH FIRST` for Oracle12 database and Arel Oracle12 visitorYasuo Honda2016-08-081-3/+3
* | applies remaining conventions across the projectXavier Noria2016-08-061-3/+2
* | normalizes indentation and whitespace across the projectXavier Noria2016-08-061-1/+1
* | modernizes hash syntax in activerecordXavier Noria2016-08-061-20/+17
* | applies new string literal convention in activerecord/testXavier Noria2016-08-061-113/+113
|/
* Prevent `RangeError` for `FinderMethods#exists?`Ryuta Kamizono2016-06-161-4/+2
* Followup of #24835Vipul A M2016-05-031-1/+1
* Allow symbols using "dot notation" to be passed to whereSean Griffin2016-04-121-1/+6
* comment out failing .second and .third testsBrian Christian2016-02-271-3/+3
* adding additional tests for offset and limit behaviorBrian Christian2016-02-271-0/+8
* additional test assertions (limit and offset)Brian Christian2016-02-271-0/+16
* AR #second_to_last tests and finder methodsBrian Christian2016-02-271-0/+36
* remove args from assert_nothing_raised in testsTara Scherner de la Fuente2016-02-221-3/+3
* Merge pull request #23377 from bogdan/last-with-sqlEileen M. Uchitelle2016-02-131-8/+36
|\
| * Make ActiveRecord::Relation#last to reverse SQL orderBogdan Gusiev2016-02-131-8/+36
* | Fix grammar `a` to `an` [ci skip]Ryuta Kamizono2016-02-131-1/+1
|/
* Revert "Merge pull request #16400 from bogdan/last-with-sql"Sean Griffin2016-02-011-23/+9
* Reworked ActiveRecord::Relation#last to always use SQLBogdan Gusiev2016-01-281-9/+23
* Fix `test_find_with_order_on_included_associations_with_construct_finder_sql_...Ryuta Kamizono2015-12-191-3/+6
* Merge pull request #22653 from matthewd/find_array_orderedMatthew Draper2015-12-181-1/+74
|\
| * Implement limit & offset for ourselvesMatthew Draper2015-12-181-2/+2
| * Adding a new test using chained where, limit and find([pks])Miguel Grazziotin2015-08-071-2/+12
| * WIP: fixing the limit bug and introducing new tests (failing for now) on .fin...Miguel Grazziotin2015-06-191-4/+25
| * do not change the order of the result if the object was already ordered by th...Miguel Grazziotin2015-06-051-0/+5