Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | columns are always strings | Aaron Patterson | 2010-10-30 | 1 | -1/+1 | |
| | | | | | | | ||||||
* | | | | | | | no need to to_i, sqlite does that for us | Aaron Patterson | 2010-10-30 | 1 | -2/+2 | |
| |_|_|_|_|/ |/| | | | | | ||||||
* | | | | | | select_all() should always return an array, so no need to test | Aaron Patterson | 2010-10-27 | 1 | -9/+1 | |
| | | | | | | ||||||
* | | | | | | fisting test name | Aaron Patterson | 2010-10-27 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | speeding up query cache | Aaron Patterson | 2010-10-27 | 2 | -5/+4 | |
| | | | | | | ||||||
* | | | | | | making query cache work with prepared statements | Aaron Patterson | 2010-10-27 | 2 | -6/+13 | |
| | | | | | | ||||||
* | | | | | | renaming bind_values to binds where it makes sense | Aaron Patterson | 2010-10-26 | 5 | -19/+19 | |
| | | | | | | ||||||
* | | | | | | adding backwards compatibility for non-prepare statement handling drivers | Aaron Patterson | 2010-10-26 | 4 | -2/+34 | |
| | | | | | | ||||||
* | | | | | | caching column values | Aaron Patterson | 2010-10-26 | 1 | -4/+11 | |
| | | | | | | ||||||
* | | | | | | setting the authorized session clears the statement cache | Aaron Patterson | 2010-10-26 | 2 | -0/+12 | |
| | | | | | | ||||||
* | | | | | | add a session authorization setter to the pg connection | Aaron Patterson | 2010-10-26 | 2 | -1/+13 | |
| | | | | | | ||||||
* | | | | | | avoiding statement cache if there are no bind values | Aaron Patterson | 2010-10-26 | 2 | -0/+23 | |
| | | | | | | ||||||
* | | | | | | folding async_exec to exec | Aaron Patterson | 2010-10-26 | 1 | -7/+0 | |
| | | | | | | ||||||
* | | | | | | clear cache before resetting the connection | Aaron Patterson | 2010-10-26 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | prepare the statement before we cache the key | Aaron Patterson | 2010-10-26 | 1 | -2/+4 | |
| | | | | | | ||||||
* | | | | | | bind substitution is working properly | Aaron Patterson | 2010-10-26 | 2 | -7/+19 | |
| | | | | | | ||||||
* | | | | | | bind parameters are now typecast | Aaron Patterson | 2010-10-26 | 2 | -1/+17 | |
| | | | | | | ||||||
* | | | | | | basic bind parameters are working | Aaron Patterson | 2010-10-26 | 2 | -1/+13 | |
| | | | | | | ||||||
* | | | | | | initial exec() method is working in pg adapter | Aaron Patterson | 2010-10-26 | 2 | -0/+55 | |
| | | | | | | ||||||
* | | | | | | monkey patching with enumerable so we can call each | Aaron Patterson | 2010-10-26 | 1 | -10/+4 | |
| | | | | | | ||||||
* | | | | | | monkey patching Mysql::Stmt, calling free on the metadata | Aaron Patterson | 2010-10-26 | 1 | -4/+9 | |
| | | | | | | ||||||
* | | | | | | free the result after slurping | Aaron Patterson | 2010-10-26 | 1 | -0/+1 | |
| | | | | | | ||||||
* | | | | | | eliminating some calls to execute() | Aaron Patterson | 2010-10-26 | 1 | -5/+2 | |
| | | | | | | ||||||
* | | | | | | statements are cached, cache is cleared on reconnect | Aaron Patterson | 2010-10-26 | 1 | -2/+19 | |
| | | | | | | ||||||
* | | | | | | all mysql tests are passing | Aaron Patterson | 2010-10-26 | 1 | -2/+16 | |
| | | | | | | ||||||
* | | | | | | one more mysql test left! | Aaron Patterson | 2010-10-26 | 4 | -5/+11 | |
| | | | | | | ||||||
* | | | | | | mysql tests are mostly passing | Aaron Patterson | 2010-10-26 | 3 | -20/+126 | |
| | | | | | | ||||||
* | | | | | | find_one uses prepared statement cache | Aaron Patterson | 2010-10-26 | 2 | -1/+7 | |
| | | | | | | ||||||
* | | | | | | clearing statements on disconnect and reset | Aaron Patterson | 2010-10-26 | 1 | -0/+6 | |
| | | | | | | ||||||
* | | | | | | 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 | 2 | -1/+21 | |
| | | | | | | ||||||
* | | | | | | stop calling execute directly on the database connection | Aaron Patterson | 2010-10-26 | 1 | -2/+2 | |
| | | | | | | ||||||
* | | | | | | removing another execute | Aaron Patterson | 2010-10-26 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | removing more execute calls | Aaron Patterson | 2010-10-26 | 1 | -2/+2 | |
| | | | | | | ||||||
* | | | | | | removing more calls to execute | Aaron Patterson | 2010-10-26 | 1 | -2/+2 | |
| | | | | | | ||||||
* | | | | | | removing some uses of execute | Aaron Patterson | 2010-10-26 | 1 | -4/+2 | |
| | | | | | | ||||||
* | | | | | | exec returns an AR::Result | Aaron Patterson | 2010-10-26 | 8 | -8/+104 | |
| | | | | | | ||||||
* | | | | | | adding bind_values to relations | Aaron Patterson | 2010-10-26 | 3 | -2/+18 | |
| | | | | | | ||||||
* | | | | | | adding bind value substitution | Aaron Patterson | 2010-10-26 | 2 | -0/+15 | |
| | | | | | | ||||||
* | | | | | | adding the abstract method | Aaron Patterson | 2010-10-26 | 1 | -0/+6 | |
| | | | | | | ||||||
* | | | | | | Revert "removing unused variable" | Aaron Patterson | 2010-10-26 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 3e4ede81d6b1ff3ea89eca33715a5a0d2f524dcf. | |||||
* | | | | | | reducing the number of parameters to select() | Aaron Patterson | 2010-10-26 | 1 | -2/+2 | |
| | | | | | | ||||||
* | | | | | | refactor to remove `through_records` | Aaron Patterson | 2010-10-23 | 1 | -10/+7 | |
| | | | | | | ||||||
* | | | | | | removing dead code | Aaron Patterson | 2010-10-23 | 1 | -2/+0 | |
| | | | | | | ||||||
* | | | | | | removing unused variable | Aaron Patterson | 2010-10-23 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | removing call to deprecated API, this test is outside AR responsibilities | Aaron Patterson | 2010-10-22 | 1 | -7/+0 | |
| | | | | | | ||||||
* | | | | | | if it responds to :usec, it should also "act like" a time | Aaron Patterson | 2010-10-22 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | removing space errors | Aaron Patterson | 2010-10-22 | 1 | -45/+45 | |
| | | | | | | ||||||
* | | | | | | 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 | 5 | -1/+78 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way parent models can get their own after_create and after_update callbacks fired after has_one has done its job. |