aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/finder_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* stop `to_s`ing method namesAkira Matsuda2012-06-061-1/+1
* quarantine more deprecated stuffJon Leighton2012-05-181-9/+0
* quarantine deprecated testsJon Leighton2012-05-181-333/+2
* Return false for exists? with new records - fixes #6199.Andrew White2012-05-101-0/+1
* Use `take` instead of `first` to avoid unwanted implicit ordering (fixes #6147)Marcelo Silveira2012-05-051-0/+4
* Introducing `take` as a replacement to the old behavior of `first`Marcelo Silveira2012-05-021-2/+24
* Made `first` finder consistent among database engines by adding aMarcelo Silveira2012-05-021-0/+6
* remove deprecated callsJon Leighton2012-04-271-22/+21
* more deprecations manually fixedJon Leighton2012-04-271-20/+15
* find and replace deprecated keysJon Leighton2012-04-271-46/+46
* %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-271-130/+53
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-1/+1
* remove deprecate #all usageJon Leighton2012-04-261-1/+1
* remove deprecate #calculate callsJon Leighton2012-04-261-6/+0
* fix #scoped deprecationsJon Leighton2012-04-261-5/+5
* remove tests for #with_scope (it's now deprecated)Jon Leighton2012-04-251-14/+0
* fix testsJon Leighton2012-04-131-2/+2
* Add dynamic find_or_create_by_{attribute}! method.Andrew White2012-03-121-0/+22