aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Collapse)AuthorAgeFilesLines
* adding tests for #5234 and #5184. Tests were from Akira Matsuda. Thanks Akira!Aaron Patterson2010-10-302-0/+11
|
* Convert :primary_key in association to a string before comparing to column ↵Denis Odorcic2010-10-302-0/+8
| | | | names, so that for example :primary_key => :another_pk works as well [#5605 state:resolved]
* Fix issues when including the same association multiple times and mixing ↵Ernie Miller2010-10-301-0/+26
| | | | joins/includes together.
* fisting test nameAaron Patterson2010-10-271-1/+1
|
* making query cache work with prepared statementsAaron Patterson2010-10-271-0/+6
|
* setting the authorized session clears the statement cacheAaron Patterson2010-10-261-0/+11
|
* add a session authorization setter to the pg connectionAaron Patterson2010-10-261-1/+8
|
* avoiding statement cache if there are no bind valuesAaron Patterson2010-10-261-0/+12
|
* bind substitution is working properlyAaron Patterson2010-10-261-0/+8
|
* bind parameters are now typecastAaron Patterson2010-10-261-0/+14
|
* basic bind parameters are workingAaron Patterson2010-10-261-0/+12
|
* initial exec() method is working in pg adapterAaron Patterson2010-10-261-0/+17
|
* one more mysql test left!Aaron Patterson2010-10-261-1/+1
|
* mysql tests are mostly passingAaron Patterson2010-10-262-3/+61
|
* refactoring testsAaron Patterson2010-10-261-36/+20
|
* type casting bound value based on column associated with valueAaron Patterson2010-10-261-0/+18
|
* exec returns an AR::ResultAaron Patterson2010-10-262-0/+43
|
* adding bind_values to relationsAaron Patterson2010-10-261-0/+9
|
* adding bind value substitutionAaron Patterson2010-10-261-0/+9
|
* reducing the number of parameters to select()Aaron Patterson2010-10-261-2/+2
|
* removing call to deprecated API, this test is outside AR responsibilitiesAaron Patterson2010-10-221-7/+0
|
* made a pass in AR's schema.rb to keep (most) create statements in ↵Xavier Noria2010-10-221-59/+60
| | | | lexicographic order, and fixed an FK
* has_one maintains the association with separate after_create/after_updateXavier Noria2010-10-223-0/+65
| | | | | This way parent models can get their own after_create and after_update callbacks fired after has_one has done its job.
* adding a test to ensure offsets with no limits will work [#5316 state:resolved]Aaron Patterson2010-10-201-0/+6
|
* removing unused variablesAaron Patterson2010-10-201-2/+2
|
* default scope merge where clauses [#5488 state:resolved]Jan2010-10-202-0/+18
|
* scopes can take an object that responds to `call`Aaron Patterson2010-10-192-0/+13
|
* default scope can accept any object that responds to #callAaron Patterson2010-10-191-0/+18
|
* Allow default_scope to accept a Proc.Tim Morgan2010-10-192-0/+17
|
* Fix SQLite adapter name [#5842 state:resolved]Anil Wadghule2010-10-193-7/+7
|
* should sort these ids before asserting they are equal!Aaron Patterson2010-10-151-1/+1
|
* testing that symbols work as sql literalsAaron Patterson2010-10-151-0/+5
|
* #transaction on the instance level should take options as wellCarl Lerche2010-10-141-0/+21
|
* Revert 0c0b0aa0f223523331afdc157fb3992a121bf497 which introduced a security ↵Michael Koziarski2010-10-151-14/+12
| | | | | | | | | | vulnerability. This addresses CVE-2010-3933 Conflicts: activerecord/lib/active_record/nested_attributes.rb
* clear any stale connections before messing with threaded testsAaron Patterson2010-10-131-0/+1
|
* Update the ActiveRecord tests to not set unused optionsCarl Lerche2010-10-132-4/+0
| | | This makes a test fail, but it is revealing a bug in Arel master.
* Add some tests for functionality in JoinAssociation which already exists but ↵Jon Leighton2010-10-137-12/+43
| | | | was previously untested
* all columns respond to string_to_binary, so no need to check respond_to?Aaron Patterson2010-10-121-3/+8
|
* test quoting a string with an unknown column typeAaron Patterson2010-10-121-0/+4
|
* test quoting multibyte chars objectAaron Patterson2010-10-121-0/+20
|
* test quoting strings with binary columnsAaron Patterson2010-10-121-0/+13
|
* test quoting a string with a float columnAaron Patterson2010-10-121-0/+5
|
* testing quoting a string for an int columnAaron Patterson2010-10-121-0/+12
|
* testing crazy object quotingAaron Patterson2010-10-121-0/+12
|
* test that dates / times / datetimes call quoted_dateAaron Patterson2010-10-121-0/+10
|
* test quoting of bigdecimalsAaron Patterson2010-10-121-0/+6
|
* testing floats, fixnum, and bignumsAaron Patterson2010-10-111-0/+18
|
* test quoting nils, true, false, idAaron Patterson2010-10-111-0/+20
|
* getting quoted_time under more specific testsAaron Patterson2010-10-111-0/+65
|
* starting to get the quote module under testAaron Patterson2010-10-111-0/+30
|