aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/finder_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
| * [#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
* Ensure AR #second, #third, etc. finders work through associationsJason Meller2014-01-211-2/+2
* Ensure #second acts like #first AR finderJason Meller2014-01-201-1/+89
* we have `with_env_tz` as global test helper. Remove duplicate.Yves Senn2014-01-161-7/+0
* Fix mysql to support duplicated column namesKassio Borges2013-12-131-1/+1
* Prevent invalid code when using dynamic finders with Ruby's reserved words.Lauro Caetano2013-12-111-0/+8
* Remove deprecated call to Relation#allCarlos Antonio da Silva2013-12-051-1/+1
* Fix offset with last.Lauro Caetano2013-12-031-0/+9
* Make the tests break againRafael Mendonça França2013-12-021-2/+0
* use complete Relation API and not only `Model.all.merge!`.Yves Senn2013-11-091-88/+83
* Mark broken test as pendingRafael Mendonça França2013-11-081-0/+2
* prevent global timezone state from leaking out of test cases.Yves Senn2013-10-251-4/+4
* Raise an exception when model without primary key calls .find_with_idsShimpei Makimoto2013-10-211-0/+7