Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | mysql tests are mostly passing | Aaron Patterson | 2010-10-26 | 2 | -3/+61 | |
| | | | | | | ||||||
* | | | | | | refactoring tests | Aaron Patterson | 2010-10-26 | 1 | -36/+20 | |
| | | | | | | ||||||
* | | | | | | type casting bound value based on column associated with value | Aaron Patterson | 2010-10-26 | 1 | -0/+18 | |
| | | | | | | ||||||
* | | | | | | exec returns an AR::Result | Aaron Patterson | 2010-10-26 | 2 | -0/+43 | |
| | | | | | | ||||||
* | | | | | | adding bind_values to relations | Aaron Patterson | 2010-10-26 | 1 | -0/+9 | |
| | | | | | | ||||||
* | | | | | | adding bind value substitution | Aaron Patterson | 2010-10-26 | 1 | -0/+9 | |
| | | | | | | ||||||
* | | | | | | reducing the number of parameters to select() | Aaron Patterson | 2010-10-26 | 1 | -2/+2 | |
| | | | | | | ||||||
* | | | | | | removing call to deprecated API, this test is outside AR responsibilities | Aaron Patterson | 2010-10-22 | 1 | -7/+0 | |
| | | | | | | ||||||
* | | | | | | made a pass in AR's schema.rb to keep (most) create statements in ↵ | Xavier Noria | 2010-10-22 | 1 | -59/+60 | |
| | | | | | | | | | | | | | | | | | | | | | | | | lexicographic order, and fixed an FK | |||||
* | | | | | | has_one maintains the association with separate after_create/after_update | Xavier Noria | 2010-10-22 | 3 | -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 Patterson | 2010-10-20 | 1 | -0/+6 | |
| | | | | | | ||||||
* | | | | | | removing unused variables | Aaron Patterson | 2010-10-20 | 1 | -2/+2 | |
| | | | | | | ||||||
* | | | | | | default scope merge where clauses [#5488 state:resolved] | Jan | 2010-10-20 | 2 | -0/+18 | |
| | | | | | | ||||||
* | | | | | | scopes can take an object that responds to `call` | Aaron Patterson | 2010-10-19 | 2 | -0/+13 | |
| | | | | | | ||||||
* | | | | | | default scope can accept any object that responds to #call | Aaron Patterson | 2010-10-19 | 1 | -0/+18 | |
| | | | | | | ||||||
* | | | | | | Allow default_scope to accept a Proc. | Tim Morgan | 2010-10-19 | 2 | -0/+17 | |
| | | | | | | ||||||
* | | | | | | Fix SQLite adapter name [#5842 state:resolved] | Anil Wadghule | 2010-10-19 | 3 | -7/+7 | |
| |_|_|_|/ |/| | | | | ||||||
* | | | | | should sort these ids before asserting they are equal! | Aaron Patterson | 2010-10-15 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | testing that symbols work as sql literals | Aaron Patterson | 2010-10-15 | 1 | -0/+5 | |
| | | | | | ||||||
* | | | | | #transaction on the instance level should take options as well | Carl Lerche | 2010-10-14 | 1 | -0/+21 | |
| | | | | | ||||||
* | | | | | Revert 0c0b0aa0f223523331afdc157fb3992a121bf497 which introduced a security ↵ | Michael Koziarski | 2010-10-15 | 1 | -14/+12 | |
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vulnerability. This addresses CVE-2010-3933 Conflicts: activerecord/lib/active_record/nested_attributes.rb | |||||
* | | | | clear any stale connections before messing with threaded tests | Aaron Patterson | 2010-10-13 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | Update the ActiveRecord tests to not set unused options | Carl Lerche | 2010-10-13 | 2 | -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 Leighton | 2010-10-13 | 7 | -12/+43 | |
| | | | | | | | | | | | | | | | | was previously untested | |||||
* | | | | all columns respond to string_to_binary, so no need to check respond_to? | Aaron Patterson | 2010-10-12 | 1 | -3/+8 | |
| | | | | ||||||
* | | | | test quoting a string with an unknown column type | Aaron Patterson | 2010-10-12 | 1 | -0/+4 | |
| | | | | ||||||
* | | | | test quoting multibyte chars object | Aaron Patterson | 2010-10-12 | 1 | -0/+20 | |
| | | | | ||||||
* | | | | test quoting strings with binary columns | Aaron Patterson | 2010-10-12 | 1 | -0/+13 | |
| | | | | ||||||
* | | | | test quoting a string with a float column | Aaron Patterson | 2010-10-12 | 1 | -0/+5 | |
| | | | | ||||||
* | | | | testing quoting a string for an int column | Aaron Patterson | 2010-10-12 | 1 | -0/+12 | |
| | | | | ||||||
* | | | | testing crazy object quoting | Aaron Patterson | 2010-10-12 | 1 | -0/+12 | |
| | | | | ||||||
* | | | | test that dates / times / datetimes call quoted_date | Aaron Patterson | 2010-10-12 | 1 | -0/+10 | |
| | | | | ||||||
* | | | | test quoting of bigdecimals | Aaron Patterson | 2010-10-12 | 1 | -0/+6 | |
| | | | | ||||||
* | | | | testing floats, fixnum, and bignums | Aaron Patterson | 2010-10-11 | 1 | -0/+18 | |
| | | | | ||||||
* | | | | test quoting nils, true, false, id | Aaron Patterson | 2010-10-11 | 1 | -0/+20 | |
| | | | | ||||||
* | | | | getting quoted_time under more specific tests | Aaron Patterson | 2010-10-11 | 1 | -0/+65 | |
| | | | | ||||||
* | | | | starting to get the quote module under test | Aaron Patterson | 2010-10-11 | 1 | -0/+30 | |
| | | | | ||||||
* | | | | Honor distinct option when used with count operation after group clause ↵ | Marcelo Giorgi | 2010-10-11 | 1 | -0/+9 | |
| | | | | | | | | | | | | | | | | [#5721 state:resolved] | |||||
* | | | | reorder removed in favor of except(:order).order | Santiago Pastorino | 2010-10-11 | 3 | -15/+2 | |
| | | | | ||||||
* | | | | Add callback on skipped migration while copying migrations | Piotr Sarnacki | 2010-10-09 | 1 | -2/+20 | |
| | | | | ||||||
* | | | | Change the method for copying migrations, do not add scope. | Piotr Sarnacki | 2010-10-09 | 5 | -21/+51 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The purpose of this change is to allow copying fail on the same names. Migrations change database and they should be treated with caution, if 2 migrations are named the same it's much better to skip migration and allow user decide if it should be copied or not. | |||||
* | | | | fix ruby 1.9 deadlock problem, fixes #5736 add connection pool tests | Hemant Kumar | 2010-10-06 | 1 | -0/+29 | |
| |_|/ |/| | | ||||||
* | | | type_name should check for blank because people may have messed up databases | Aaron Patterson | 2010-09-30 | 1 | -0/+14 | |
| | | | ||||||
* | | | AssociationCollection#include? working properly for objects added with build ↵ | Marcelo Giorgi | 2010-09-30 | 3 | -0/+26 | |
| | | | | | | | | | | | | method [#3472 state:resolved] | |||||
* | | | group clause must be more specific | Aaron Patterson | 2010-09-30 | 1 | -1/+1 | |
| | | | ||||||
* | | | Tests proving #5441 | oleg dashevskii | 2010-09-30 | 1 | -1/+11 | |
| |/ |/| | ||||||
* | | eliminating method_missing on TableDefinition | Aaron Patterson | 2010-09-29 | 1 | -2/+12 | |
| | | ||||||
* | | fisting test organization | Aaron Patterson | 2010-09-29 | 2 | -52/+50 | |
| | | ||||||
* | | Revert "porting 515917f5d8678af6c57842ca5dfd7c18e67ff1fe to master" | Aaron Patterson | 2010-09-28 | 1 | -6/+0 | |
| | | | | | | | | This reverts commit bee447a5b9fe1d683c6cc69aefb7fc22c2a9d9af. | |||||
* | | Set attributes properly for model built from association with conditions ↵ | Marcelo Giorgi | 2010-09-28 | 6 | -1/+47 | |
| | | | | | | | | | | | | [#5562 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> |