aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/finder_test.rb
Commit message (Expand)AuthorAgeFilesLines
* * Continue evolution toward ActiveSupport::TestCase and friends. #10679 [Jos...Jeremy Kemper2008-01-051-1/+1
* Base.exists? doesn't rescue exceptions to avoid hiding SQL errors. Closes #10...Jeremy Kemper2007-12-111-1/+9
* test_select_rows shouldn't depend on implicit result ordering. Closes #9898 [...Jeremy Kemper2007-10-221-2/+2
* Qualified column names work in hash conditions, like :conditions => { 'commen...Jeremy Kemper2007-10-161-0/+5
* find_and_(initialize|create)_by methods can now properly initialize protected...Tobias Lütke2007-10-101-0/+16
* Define dynamic finders as real methods after first usage. Close #9317Tobias Lütke2007-09-181-0/+41
* connection.select_rows 'sql' returns an array (rows) of arrays (field values)...Jeremy Kemper2007-09-161-0/+10
* Improve performance and functionality of the postgresql adapter. Closes #804...Michael Koziarski2007-08-161-7/+9
* Change the implementation of ActiveRecord's attribute reader and writer methods:Michael Koziarski2007-08-141-2/+3
* Move from select * to select tablename.* to avoid clobbering IDs. Closes #888...Michael Koziarski2007-07-071-0/+9
* Array attribute conditions work with proxied association collections. Closes ...Jeremy Kemper2007-06-271-1/+5
* Remove deprecated find_first and find_all.Jeremy Kemper2007-06-111-0/+8
* Fix an edge case with find with a list of ids, limit, and offset. Closes #8437.Jeremy Kemper2007-05-311-0/+7
* find gracefully copes with blank :conditions. Closes #7599.Jeremy Kemper2007-05-261-0/+13
* Typo in [6845]. References #8437.Jeremy Kemper2007-05-251-1/+1
* Find with a list of ids supports limit/offset. Closes #8437.Jeremy Kemper2007-05-251-46/+49
* Include some missing fixtures. Closes #7981.Jeremy Kemper2007-05-251-1/+1
* find_or_create_by_* takes a hash so you can create with more attributes than ...Jeremy Kemper2007-03-141-0/+19
* Post title and body not null. References #6778.Jeremy Kemper2007-01-281-1/+1
* MySQL: SET SQL_AUTO_IS_NULL=0 so 'where id is null' doesn't select the last i...Jeremy Kemper2007-01-281-0/+6
* Pass a range in :conditions to use the SQL BETWEEN operator. Closes #6974.Jeremy Kemper2007-01-101-0/+10
* Ensure dynamic finders are anchored to the beginning of the method name to pr...Michael Koziarski2006-12-271-0/+7
* Support nil and Array in :conditions => { attr => value } hashes. Closes #6548.Jeremy Kemper2006-11-051-2/+14
* Deprecation: count class method should be called with an options hash rather ...Jeremy Kemper2006-09-261-3/+3
* Backed out of new_record? to new? transformation as it would screw up existin...David Heinemeier Hansson2006-09-051-4/+4
* Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::Base.new?...David Heinemeier Hansson2006-09-051-4/+4
* has_one supports the :dependent => :delete option which skips the typical cal...Jeremy Kemper2006-08-291-2/+2
* Clashing type columns due to a sloppy join shouldn't wreck single-table inher...Jeremy Kemper2006-08-241-0/+5
* The exists? class method should treat a string argument as an id rather than ...Jeremy Kemper2006-08-031-7/+8
* Added support for conditions on Base.exists? (closes #5689) [josh@joshpeek.com]David Heinemeier Hansson2006-08-031-0/+3
* Rollback [4584], bad test. Reopens #3819.Jeremy Kemper2006-07-081-14/+1
* Don't modify options parameters in-place. Closes #3819.Jeremy Kemper2006-07-081-1/+14
* Added find_or_initialize_by_X which works like find_or_create_by_X but doesn'...Sam Stephenson2006-06-201-0/+15
* Added simple hash conditions to find that'll just convert hash to an AND-base...David Heinemeier Hansson2006-06-031-2/+31
* Mind the order of things.Jeremy Kemper2006-06-011-7/+3
* Records and arrays of records are bound as quoted ids.Jeremy Kemper2006-06-011-0/+33
* Add support for FrontBase (http://www.frontbase.com/) with a new adapter than...Marcel Molina2006-04-271-0/+6
* SQL Server adapter gets some love (closes #4298) [rtomayko@gmail.com]David Heinemeier Hansson2006-03-181-0/+5
* fix test_find_in_association_with_options test, tweak other tests affected by...Rick Olson2006-03-161-1/+1
* Fixed eager loading problems with single-table inheritance [Rick Olson] Added...David Heinemeier Hansson2006-03-051-1/+2
* test_find_or_create_from_two_attributes is a duplicate of test_find_or_create...David Heinemeier Hansson2006-02-191-4/+4
* Add explicit :order in finder tests as postgresql orders results differently ...Marcel Molina2006-01-221-1/+1
* Make dynamic finders honor additional passed in :conditions. Closes #3569.Marcel Molina2006-01-221-1/+14
* Don't raise an exception when there are more keys than there are named bind v...Marcel Molina2006-01-051-16/+0
* r3095@asus: jeremy | 2005-11-15 22:40:51 -0800Jeremy Kemper2005-11-161-1/+1
* Correct handling of complex order clauses with SQL Server limit emulation. C...Jeremy Kemper2005-11-081-0/+10
* Added extension capabilities to has_many and has_and_belongs_to_many proxies ...David Heinemeier Hansson2005-11-041-0/+14
* Fixed SQL Server adapter so it honors options[:conditions] when applying :lim...David Heinemeier Hansson2005-10-281-0/+6
* Fixed handling of nil number columns on Oracle and cleaned up tests for Oracl...David Heinemeier Hansson2005-10-261-12/+6
* Added quoted_true and quoted_false methods to db2_adapter and cleaned up test...David Heinemeier Hansson2005-10-261-1/+1