Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use column names as order by complex function parameters, fix for postgresql ↵ | Raimonds Simanovskis | 2010-11-07 | 1 | -12/+2 |
| | | | | | | adapter to correctly remove ASC/DESC Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Fixes queries using limits and punctuation in order, removes order("col1, ↵ | Santiago Pastorino | 2010-11-05 | 3 | -4/+25 |
| | | | | | | col2") usage in favor of order(["col1", "col2"}) [#4597 state:committed] | ||||
* | renaming exec in the mysql adapter | Aaron Patterson | 2010-11-05 | 1 | -13/+13 |
| | |||||
* | renaming exec in the PG adapter | Aaron Patterson | 2010-11-05 | 2 | -11/+11 |
| | |||||
* | converted exec to exec_query for sqlite | Aaron Patterson | 2010-11-05 | 2 | -15/+15 |
| | |||||
* | ignoring certain SQL when using Oracle | Aaron Patterson | 2010-11-03 | 1 | -0/+4 |
| | |||||
* | Ensure save always updates timestamps when serialized attributes are present | Pratik Naik | 2010-11-02 | 1 | -0/+14 |
| | |||||
* | Add timestamps to Topic | Pratik Naik | 2010-11-02 | 2 | -6/+6 |
| | |||||
* | adding tests for #5234 and #5184. Tests were from Akira Matsuda. Thanks Akira! | Aaron Patterson | 2010-10-30 | 2 | -0/+11 |
| | |||||
* | Convert :primary_key in association to a string before comparing to column ↵ | Denis Odorcic | 2010-10-30 | 1 | -0/+7 |
| | | | | 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 Miller | 2010-10-30 | 1 | -0/+26 |
| | | | | joins/includes together. | ||||
* | fisting test name | Aaron Patterson | 2010-10-27 | 1 | -1/+1 |
| | |||||
* | making query cache work with prepared statements | Aaron Patterson | 2010-10-27 | 1 | -0/+6 |
| | |||||
* | setting the authorized session clears the statement cache | Aaron Patterson | 2010-10-26 | 1 | -0/+11 |
| | |||||
* | add a session authorization setter to the pg connection | Aaron Patterson | 2010-10-26 | 1 | -1/+8 |
| | |||||
* | avoiding statement cache if there are no bind values | Aaron Patterson | 2010-10-26 | 1 | -0/+12 |
| | |||||
* | bind substitution is working properly | Aaron Patterson | 2010-10-26 | 1 | -0/+8 |
| | |||||
* | bind parameters are now typecast | Aaron Patterson | 2010-10-26 | 1 | -0/+14 |
| | |||||
* | basic bind parameters are working | Aaron Patterson | 2010-10-26 | 1 | -0/+12 |
| | |||||
* | initial exec() method is working in pg adapter | Aaron Patterson | 2010-10-26 | 1 | -0/+17 |
| | |||||
* | one more mysql test left! | Aaron Patterson | 2010-10-26 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | removing call to deprecated API, this test is outside AR responsibilities | Aaron Patterson | 2010-10-22 | 1 | -7/+0 |
| | |||||
* | has_one maintains the association with separate after_create/after_update | Xavier Noria | 2010-10-22 | 1 | -0/+20 |
| | | | | | 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 | 1 | -0/+6 |
| | |||||
* | 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 | 1 | -0/+11 |
| | |||||
* | 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 | 5 | -12/+34 |
| | | | | 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 |
| |