aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/finder_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Add a test case for exists? with multiple valuesRafael Mendonça França + Kassio Borges2013-09-041-0/+1
* let AR::FinderMethods#exists? return singletons in all cases [closes #11592]Xavier Noria2013-08-191-27/+29
* remove duplicate methodNeeraj Singh2013-07-291-7/+0
* Don't allow `quote_value` to be called without a columnBen Woosley2013-07-221-1/+1
* Fix that #exists? can produce invalid SQL: "SELECT DISTINCT DISTINCT"Ben Woosley2013-05-101-0/+12
* Handle aliased attributes in ActiveRecord::Relation.Godfrey Chan2013-05-011-1/+2
* adding test for the symbol refsAaron Patterson2013-04-261-0/+7
* Reset the primary key for other testsAndrew White2013-04-241-0/+2
* rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-151-1/+1
* Reverting 16f6f25 (Change behaviour with empty array in where clause)Guillermo Iguaran2013-02-081-0/+9
* Change behaviour with empty array in where clauserobertomiranda2013-02-081-9/+0
* CVE-2012-5664 options hashes should only be extracted if there are extra para...Aaron Patterson2013-01-021-0/+12
* Assert the query result instead of checking for nothing raisedCarlos Antonio da Silva2012-11-131-4/+2
* Regression test for #7238Nikita Afanasenko2012-11-131-0/+7
* Raise MissingAttributeError on query methodsErnie Miller2012-09-081-0/+1
* Remove ActiveRecord::Base.to_aJon Leighton2012-08-031-1/+1