aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/finder_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge branch '3-2-sec' into 3-2-secmergeAaron Patterson2012-12-231-0/+12
|\
| * CVE-2012-5664 options hashes should only be extracted if there are extra para...Aaron Patterson2012-12-231-0/+12
* | Use nil? instead of blank? to check dynamic finder resultNikita Afanasenko2012-11-131-0/+5
|/
* Merge pull request #6698 from yahonda/address_ora_911_masterRafael Mendonça França2012-06-111-1/+1
* Merge pull request #6521 from Empact/throw-resultRafael Mendonça França2012-06-101-1/+6
* Add test to column alias in `exists?` SQL.Rafael Mendonça França2012-06-101-0/+6
* Return false for exists? with new records - fixes #6199.Andrew White2012-05-101-0/+1
* Add order to tests that rely on db ordering, to fix failing tests on pgCarlos Antonio da Silva2012-03-221-2/+2
* fix activerecord query_method regression with offset into FixnumDenis Jean2012-03-131-0/+4
* Add dynamic find_or_create_by_{attribute}! method.Andrew White2012-03-121-0/+22
* Merge pull request #4715 from pwim/find-create-multi-argsJon Leighton2012-01-271-0/+11
* Deprecate set_primary_key in favour of self.primary_key=Jon Leighton2011-11-291-1/+1
* Fixes issue #3483, regarding using a mixture of ranges and discrete values in...Ryan Naughton2011-11-141-1/+1
* Failing test case for issue #3483Gabriel Sobrinho2011-11-141-0/+4
* exclude ORDER BY clause when querying Relation#exists?Akira Matsuda2011-11-091-0/+5
* Add ROWNUM to test first and last to support Oracle.Yasuo Honda2011-09-071-2/+2
* Merge pull request #2485 from akaspick/exists_fixJon Leighton2011-09-071-0/+9
|\
| * fix exists? to return false if passed nil (which may come from a missing URL ...Andrew Kaspick2011-08-101-0/+9
* | Use LIMIT sql word in last when it's possibleDamien Mathieu2011-09-051-1/+18
* | use LIMIT SQL word in first - Closes #2783Damien Mathieu2011-09-051-0/+9
|/
* Raise an ArgumentError if user passing less number of argument in the dynamic...Prem Sichanugrist2011-07-171-0/+8
* formatsAkira Matsuda2011-07-091-5/+5
* fix AR having() not to raise NoMethodError when the given argument does not r...Akira Matsuda2011-07-091-0/+7
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* Fix for #371Nick Howard2011-05-081-0/+21
* supporting nil when passed in as an IN clauseAaron Patterson2011-04-291-3/+4
* Test that passing nil member of array in conditions retrieves records with nilgmile2011-04-291-0/+22
* Return nil from read_attribute(:foo) if 'foo' is not present in the @attribut...Jon Leighton2011-04-151-1/+2
* test against AR class rather than the relation (thanks Andrew White!)Aaron Patterson2011-03-291-2/+2
* order is not guaranteed by this select, so add an order and call first!Aaron Patterson2011-03-291-1/+1
* Delegate first!, last!, any? and many? to scopedAndrew White2011-03-291-0/+16
* Change exists? so that it doesn't instantiate records [#6127 state:resolved]Andrew White2011-03-291-0/+5
* add #first! and #last! to models & relationsJosh Susser2011-03-241-0/+24
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-1/+1
|\
| * using arel to compile sql statementsAaron Patterson2010-12-251-1/+1
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-171-22/+32
|\|
| * removing many unused variablesAaron Patterson2010-11-161-1/+1
| * Finder gives a little bit more info on the lookup column (primary key)Franck Verrot2010-11-131-0/+10
| * use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-21/+21
| * Add some tests for functionality in JoinAssociation which already exists but ...Jon Leighton2010-10-131-1/+1
* | Properly support conditions on any of the reflections involved in a nested th...Jon Leighton2010-10-191-2/+4
* | Refactoring JoinDependency and friends. This improves the code (IMO) includin...Jon Leighton2010-10-061-1/+1
* | Fix the tests (I have actually verified that these are also the 'right' fixes...Jon Leighton2010-10-031-1/+1
|/
* fisting test organizationAaron Patterson2010-09-291-51/+0
* query value is converted to_s instead of to_yamlRainerBlessing2010-08-031-0/+8
* removing unused models from testsSubba Rao Pasupuleti2010-07-211-1/+0
* Final iteration of use better testing methodsNeeraj Singh2010-05-191-1/+1
* Make use of assert_equal to test equallity between object assert expects and ...Santiago Pastorino2010-05-161-2/+2
* Make find_or_create and find_or_initialize work mixing explicit parameters an...Santiago Pastorino2010-05-071-1/+17