Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | implements ActiveRecord::Base.connection_config to be able to check the ↵ | Xavier Noria | 2011-03-05 | 1 | -0/+10 |
| | | | | configuration of the current connection at runtime | ||||
* | Optimization for postgres adapter for add_column method. Set default and not ↵ | Timothy N. Tsvetkov | 2011-02-15 | 1 | -6/+10 |
| | | | | null in one query | ||||
* | switch over to Mysql2::Client#ping for the mysql2 connection check | Brian Lopez | 2011-02-12 | 1 | -4/+1 |
| | |||||
* | fixture should quack like a hash | Aaron Patterson | 2011-02-11 | 1 | -1/+9 |
| | |||||
* | log method takes an option list of bind values | Aaron Patterson | 2011-02-09 | 4 | -8/+10 |
| | |||||
* | Allow limit values to accept an ARel SQL literal. | Ken Collins | 2011-02-09 | 1 | -3/+7 |
| | |||||
* | primary keys should not be cleared on cache clear, fixing oracle tests | Aaron Patterson | 2011-02-08 | 1 | -2/+0 |
| | |||||
* | limit() should sanitize limit values | Aaron Patterson | 2011-02-08 | 1 | -15/+15 |
| | | | | This fixes CVE-2011-0448 | ||||
* | 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 |
| | |