aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/finder_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
| * adding a test to ensure the find is obbeying the limitMiguel Grazziotin2015-06-031-0/+7
| * [#20338] adding tests to ensure the order clause takes precedenceMiguel Grazziotin2015-06-031-0/+18
| * [#20338] WIP: first basic implementation and specsMiguel Grazziotin2015-05-291-0/+12
* | Use a bind param for `LIMIT` and `OFFSET`Sean Griffin2015-12-141-3/+3
* | Remove some bind related test cases from finder_test.rb to sanitize_test.rbyui-knk2015-11-211-91/+0
* | Don't cache arguments in #find_by if they are an ActiveRecord::Relationakihiro172015-10-061-0/+6
* | Add tests for sanitize named bind arityyui-knk2015-09-231-3/+9
* | Removed mocha from Active Record Part 2Ronak Jangir2015-09-161-2/+3
* | Revert "Merge pull request #20080 from robertjlooby/fix_overwriting_by_dynami...Rafael Mendonça França2015-09-091-13/+0
* | put dynamic matchers on the GeneratedAssociationMethods instead of modelRob Looby2015-05-081-0/+13
|/
* remove old unavailable link with relevant fixGaurav Sharma2015-03-231-1/+0
* Remove version conditional for calling GC.disableRafael Mendonça França2015-01-041-1/+1
* Don't perform statement caching for `find` when called from a scopeSean Griffin2014-12-221-1/+23
* Remove deprecated behavior allowing nested arrays as query valuesMelanie Gilman2014-12-041-24/+0
* Prevent Symbol GCRyuta Kamizono2014-12-041-0/+3
* Refactor `build_from_hash` to convert dot notation to hash firstMelanie Gilman2014-12-021-0/+6
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-4/+4
* Build fix when running in isolationArun Agrawal2014-11-141-0/+1
* Handle `RangeError` from casting in `find_by` and `find_by!` on RelationSean Griffin2014-11-021-0/+10
* Treat strings greater than int max value as out of rangeSean Griffin2014-10-311-13/+14
* Fix find_by with associations not working with adequate recordGodfrey Chan2014-09-201-0/+5
* Merge pull request #15791 from zev/add_model_to_recordnotfound_messageAaron Patterson2014-09-191-10/+18
|\
| * Update RecordNotFound exception cases to include a message with theZev Blut2014-06-181-10/+18
* | Fix query with nested array in Active RecordCristian Bica2014-09-061-0/+28
* | Override #find_by! in core to enable AST cachingGodfrey Chan2014-08-251-0/+22
* | Fixed find_by("sql fragment without bindings") on masterGodfrey Chan2014-08-251-0/+20
* | Fixes the `Relation#exists?` to work with polymorphic associations.Kassio Borges2014-08-181-0/+14
* | Warm up Symbols with where methodAkira Matsuda2014-08-151-1/+1
* | Deprecate automatic counter caches on has_many :throughSean Griffin2014-06-261-2/+2
* | Silence warnings in tests.Sean Griffin2014-06-101-2/+2
|/
* ActiveRecord::FinderMethods.find passes proc parameter #15382James Yang2014-06-101-0/+11
* Add test for deprecation warning for passing an AR object to `find`.Lauro Caetano2014-03-131-0/+6
* Test deprecation warning for passing an ActiveRecord object toLauro Caetano2014-03-131-0/+6
* passing an ActiveRecord object to `exists?` is deprecated.Aaron Patterson2014-03-131-1/+1
* mysql adapter also fails with a number bigger than intRafael Mendonça França2014-03-101-2/+5
* Change the assertions depending in the database adapterRafael Mendonça França2014-03-101-14/+9
* Do proper adapter checkRafael Mendonça França2014-03-101-2/+2
* Make exists? use bound values.Martin Schürrer2014-03-041-2/+14
* Fix `ActiveRecord::RecordNotFound` error message with custom primary keyKuldeep Aggarwal2014-01-251-7/+24