aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/finder_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Revert "Removing composed_of from ActiveRecord."Rafael Mendonça França2012-07-271-0/+99
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-69/+69
* ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-17/+17
* exists?(false) returns falseEgor Lynko2012-06-251-0/+4
* made dynamic finders alias_attribute awareMaximilian Schneider2012-06-221-0/+5
* Removing composed_of from ActiveRecord.Steve Klabnik2012-06-181-99/+0
* Address ORA-00911 errors because of the heading underscore.Yasuo Honda2012-06-111-1/+1
* Fix that #exists? raises ThrowResult when called with an empty limitedBen Woosley2012-06-101-1/+6
* Add test to column alias in `exists?` SQL.Rafael Mendonça França2012-06-101-0/+6