Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mysql2 should log these sql statements | Aaron Patterson | 2011-02-07 | 1 | -1/+1 |
| | |||||
* | the connection pool caches table_exists? calls | Aaron Patterson | 2011-02-07 | 1 | -8/+14 |
| | |||||
* | adjust query counts to be consistent across databases, make sure database ↵ | Aaron Patterson | 2011-02-04 | 4 | -11/+27 |
| | | | | log the same things | ||||
* | column cache now lives on the connection pool | Aaron Patterson | 2011-02-04 | 1 | -1/+5 |
| | |||||
* | almost fisted | Aaron Patterson | 2011-02-04 | 1 | -0/+7 |
| | |||||
* | making sure primary key is set on the columns | Aaron Patterson | 2011-02-04 | 1 | -1/+9 |
| | |||||
* | connection pool can cache column, table, and primary key information | Aaron Patterson | 2011-02-04 | 1 | -0/+34 |
| | |||||
* | refactor a bunch of return / if to a case / when | Aaron Patterson | 2011-02-03 | 2 | -26/+30 |
| | |||||
* | add_limit_offset! is deprecated | Aaron Patterson | 2011-02-03 | 1 | -0/+1 |
| | |||||
* | just use the superclass implementation | Aaron Patterson | 2011-02-03 | 1 | -49/+0 |
| | |||||
* | Revert "ARel only requires the connection from the AR class. Simply return ↵ | Aaron Patterson | 2011-02-03 | 1 | -24/+24 |
| | | | | | | the AR class rather than jump through hoops and store ivars" This reverts commit d65e3b481e72e8c76818a94353e9ac315c7c0272. | ||||
* | ARel only requires the connection from the AR class. Simply return the AR ↵ | Aaron Patterson | 2011-02-03 | 1 | -24/+24 |
| | | | | class rather than jump through hoops and store ivars | ||||
* | this method should never return nil | Aaron Patterson | 2011-02-02 | 1 | -1/+1 |
| | |||||
* | just require mysql2 | Aaron Patterson | 2011-02-02 | 1 | -1/+1 |
| | |||||
* | adding mysql2 adapter | Aaron Patterson | 2011-02-02 | 1 | -0/+657 |
| | |||||
* | moving AR::ConnectionAdapters::Column to its own file | Aaron Patterson | 2011-02-01 | 3 | -263/+269 |
| | |||||
* | column will use coder to typecase value when it is available | Aaron Patterson | 2011-02-01 | 1 | -0/+2 |
| | |||||
* | coders can be assigned to columns | Aaron Patterson | 2011-02-01 | 1 | -1/+4 |
| | |||||
* | dry up our case / when statements | Aaron Patterson | 2011-02-01 | 1 | -34/+31 |
| | |||||
* | expand mulasgn for enhancing readability | Aaron Patterson | 2011-01-31 | 1 | -6/+9 |
| | |||||
* | Use run_callbacks; the generated _run_<name>_callbacks method is not a ↵ | John Firebaugh | 2011-01-31 | 1 | -1/+1 |
| | | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Add :bulk => true option to change_table | Pratik Naik | 2011-01-31 | 3 | -60/+148 |
| | |||||
* | always return the identity function from type_cast_code | Aaron Patterson | 2011-01-28 | 1 | -1/+1 |
| | |||||
* | use an identity conversion to avoid conditional codes | Aaron Patterson | 2011-01-28 | 1 | -2/+2 |
| | |||||
* | SQLite3 has supported savepoints since version 3.6.8, we should use this! | Jon Leighton | 2011-01-11 | 2 | -2/+18 |
| | |||||
* | remove unused string substitution | Aaron Patterson | 2011-01-08 | 1 | -6/+1 |
| | |||||
* | only rescue from Mysql::Error exceptions [#6236 state:resolved] | Aaron Patterson | 2011-01-07 | 1 | -4/+9 |
| | |||||
* | no need to specify self | Aaron Patterson | 2011-01-05 | 1 | -1/+1 |
| | |||||
* | require ActiveSupport deprecatation file before using deprecate method in ↵ | Raimonds Simanovskis | 2011-01-04 | 1 | -0/+2 |
| | | | | | database_statements otherwise when using external ActiveRecord adapters (e.g. Oracle) database_statements might be loaded before active_support/core_ext/module/deprecation which results in NoMethodError (commit 60cf65def805995bcca184c40b44bb01d86a48aa added "deprecate" call to database_statements.rb) | ||||
* | herp derpricating add_limit_offset! | Aaron Patterson | 2011-01-03 | 2 | -0/+4 |
| | |||||
* | Make serialized fixtures work again | Pratik Naik | 2010-12-29 | 1 | -1/+2 |
| | |||||
* | move ivar to initialize, use triple dot rather than minus | Aaron Patterson | 2010-12-16 | 1 | -1/+1 |
| | |||||
* | Merge remote branch 'rude/disable-keys-for-postgres-9.0.1' into pg | Aaron Patterson | 2010-12-09 | 1 | -6/+7 |
|\ | | | | | | | | | | | * rude/disable-keys-for-postgres-9.0.1: Cleaner way to extract the Postgres version Fix Bug: disable_referential_integrity doesn't work for postgres 9.0.1 | ||||
| * | Cleaner way to extract the Postgres version | Matthew Rudy Jacobs | 2010-11-21 | 1 | -2/+6 |
| | | |||||
| * | Fix Bug: disable_referential_integrity doesn't work for postgres 9.0.1 | Matthew Rudy Jacobs | 2010-11-21 | 1 | -4/+1 |
| | | |||||
* | | Use Array.wrap instead of using ternary | Piotr Sarnacki | 2010-12-09 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Allow to run migrations from more than one directory | Piotr Sarnacki | 2010-12-09 | 1 | -2/+4 |
| | | |||||
* | | made in_clause_length default nil (no limit) | Alex Rothenberg | 2010-12-02 | 1 | -2/+2 |
| | | |||||
* | | rolling out migrated_at until I can fix the build | Aaron Patterson | 2010-12-01 | 1 | -15/+3 |
| | | |||||
* | | tests mostly pass | Josh Susser | 2010-12-01 | 1 | -2/+2 |
| | | | | | | | | | | adjust to work with instance-based migations migrated_at can't be null why must people have last names? it's killing me! | ||||
* | | name in schema_migrations, migrations in schema dump | Josh Susser | 2010-12-01 | 1 | -0/+4 |
| | | |||||
* | | Add migrated_at column to schema_migrations table. | Josh Susser | 2010-12-01 | 1 | -1/+9 |
| | | |||||
* | | Don't depend on rubygems loading thread (for Mutex) | raggi | 2010-11-25 | 1 | -0/+1 |
| | | |||||
* | | Avoid creating local var. | Emilio Tagua | 2010-11-24 | 1 | -2/+1 |
| | | |||||
* | | Use params default. | Emilio Tagua | 2010-11-24 | 1 | -2/+1 |
| | | |||||
* | | Removed ids_in_list_limit in favor of in_clause_length defined in ↵ | Alex Rothenberg | 2010-11-23 | 1 | -5/+0 |
|/ | | | | database_limits.rb | ||||
* | Adapters can specify maximum number of ids they support in a list of expressions | Alex Rothenberg | 2010-11-18 | 1 | -0/+5 |
| | | | | | (default is nil meaning unlimited but Oracle imposes a limit of 1000) Limit is used to make multiple queries when preloading associated has_many or habtm records | ||||
* | use column names as order by complex function parameters, fix for postgresql ↵ | Raimonds Simanovskis | 2010-11-07 | 1 | -1/+1 |
| | | | | | | adapter to correctly remove ASC/DESC Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Avoid warning: shadowing outer local variable | Santiago Pastorino | 2010-11-05 | 1 | -2/+2 |
| | |||||
* | Fixes queries using limits and punctuation in order, removes order("col1, ↵ | Santiago Pastorino | 2010-11-05 | 1 | -3/+3 |
| | | | | | | col2") usage in favor of order(["col1", "col2"}) [#4597 state:committed] |