aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/finder_test.rb
Commit message (Expand)AuthorAgeFilesLines
...
* Remove quoted_string_prefix entirely since PostgreSQL was the only database a...Jeremy Kemper2010-04-241-2/+2
* Don't depend on order of elements in SetEvan Phoenix2010-03-221-5/+16
* Don't publicize with_scope for tests since it may shadow public misuseJeremy Kemper2009-12-281-2/+2
* Add Model.from and association_collection#from finder methodsPratik Naik2009-12-281-1/+1
* Make Model.find_or_create_by_* and find_or_initialize_by_* use relations and ...Pratik Naik2009-12-271-7/+0
* Make Model.find_by_* and Model.find_all_by_* use relations and remove dynamic...Pratik Naik2009-12-271-46/+0
* Replace Model.first(options) with new finder methods inside testsPratik Naik2009-12-271-2/+2
* Ensure Model.scoped adds type conditions for STI modelsPratik Naik2009-12-271-1/+1
* Merge commit 'rails/master'Emilio Tagua2009-08-081-47/+12
|\
| * Tidy up the AR tests, removing duplicates and making tests clearer / more foc...Josh Sharpe2009-08-081-46/+11
| * Some databases (e.g. Oracle) does not allow "AS" between table name and table...Raimonds Simanovskis2009-08-061-1/+1
* | Merge commit 'rails/master'Emilio Tagua2009-08-051-1/+51
|\|
| * Extract generic attribute method generation to AMoJoshua Peek2009-08-041-1/+1
| * quoted_date converts time-like objects to ActiveRecord::Base.default_timezone...Geoff Buesing2009-08-031-0/+50
* | Introduced ActiveRecord::Relation, a layer between an ARel relation and an AR...Emilio Tagua2009-07-211-2/+2
|/
* Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...Pratik Naik2009-07-011-2/+2
* Revert "Generate proper :counter_sql from :finder_sql when there is a newline...Yehuda Katz + Carl Lerche2009-06-221-2/+2
* Generate proper :counter_sql from :finder_sql when there is a newline charact...Patrick Joyce2009-06-211-2/+2
* Add missing model and fixtures to finder_test [#2671 state:resolved]Emilio Tagua2009-05-181-2/+2
* Changed ActiveRecord::Base#exists? to invoke find_initial so that it is compa...Peter Marklund2009-05-141-0/+6
* Cherry-pick core extensionsJeremy Kemper2009-05-131-2/+3
* Fix models load order to be able to run unit tests.Emilio Tagua2009-04-231-4/+4
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-32/+32
* Allow :having conditions to be sanitized like regular :condition. [#2158 stat...Will Bryant2009-03-061-0/+7
* Ensure supplie :from has precedence over scoped :from [#1370 state:resolved]Pratik Naik2009-03-061-0/+8
* support end-exclusive ... Ranges in SQL hash condition sanitization properlyWill Bryant2009-02-061-0/+6
* Add ActiveRecord::Base.exists? with no args [#1817 state:committed]Scott Taylor2009-02-051-1/+10
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-031-12/+10
* Add :having option to find, to use in combination with grouped finds. Also ad...miloops2008-12-011-0/+7
* Fixed issue where block is not called on the very first invocation of a find_...Ken Miller2008-10-241-0/+11
* Dynamic finders should use the ActiveRecord::Base::find method instead of ::f...Eloy Duran2008-10-031-5/+22
* Allowed passing arrays-of-strings to :join everywhere. Merge duplicate join s...Pivotal Labs2008-09-241-0/+11
* Change all calls to String#chars to String#mb_chars.Manfred Stienstra2008-09-211-2/+2
* Use select and change test so new tests can work on postgres.miloops2008-09-121-2/+2
* Improve test coverage when using the group option in find, has_many or has_an...miloops2008-09-111-0/+6
* Fix ActiveRecord::Base.quote_bound_value for ActiveSupper::Multibyte::Chars v...Manfred Stienstra2008-09-111-2/+10
* Fixed test_find_last_by_one_attribute_caches_dynamic_finder for postgresql 8.3Tarmo Tänav2008-09-101-1/+1
* Added find_last_by dynamic finder [status:committed #762]miloops2008-09-091-4/+36
* add dynamic finder bang version to raise RecordNotFoundJosh Susser2008-08-251-0/+14
* refactor dynamic finder name matching into its own classJosh Susser2008-08-251-0/+42
* Allow conditions on multiple tables to be specified using hash.Pratik Naik2008-06-281-0/+17
* Named bind variables can now be used with postgresql-style typecastsTarmo Tänav2008-06-221-0/+7
* Fix tests for postgres 8.3.xTarmo Tänav2008-05-261-1/+1
* DRY associations code and improve eager loading tests.Pratik Naik2008-05-151-1/+4
* Make sure needed table joins are included :select option. [#110 state:resolved]John Devine2008-05-151-3/+6
* Added logic to associations.rb to make sure select_for_limited_idsJohn Devine2008-05-061-0/+9
* Ensure that respond_to? considers dynamic finder methods. Closes #11538. [flo...Pratik Naik2008-04-061-11/+11
* Fixed that ActiveRecord#Base.find_or_create/initialize would not honor attr_p...David Heinemeier Hansson2008-03-251-0/+32
* Added ActiveRecord#Base.all/first/last as aliases for find(:all/:first/:last)...David Heinemeier Hansson2008-03-241-0/+8
* Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen]Rick Olson2008-03-241-4/+4