Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge docrails | Pratik Naik | 2009-07-25 | 2 | -1/+9 |
| | |||||
* | Make sure the wrapped exceptions also have the original exception available. | Michael Koziarski | 2009-06-26 | 3 | -5/+5 |
| | | | | [#2419 state:committed] | ||||
* | Translate foreign key violations to ActiveRecord::InvalidForeignKey exceptions. | Michael Schuerig | 2009-06-26 | 2 | -0/+4 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Translate adapter errors that indicate a violated uniqueness constraint to ↵ | Michael Schuerig | 2009-06-26 | 4 | -1/+36 |
| | | | | | | ActiveRecord::RecordNotUnique exception derived from ActiveReecord::StatementInvalid. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fixed a bug where create_table could not be called without a block [#2221 ↵ | Joseph Wilk | 2009-06-21 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure table names are quoted while renaming for sqlite3 adapter [#2272 ↵ | Brian Hogan | 2009-06-21 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | PostgreSQL adapter should call thread safe quote_string function | Eugene Pimenov | 2009-06-09 | 1 | -2/+14 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 7 | -3/+11 |
| | |||||
* | Ensure ActiveRecord::Base.connection_pool.with_connection creates a new ↵ | steve | 2009-05-01 | 1 | -5/+6 |
| | | | | | | connection only when needed [#1752 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Use table_exists? in #initialize_schema_migrations_table [#1923 state:resolved] | Ken Collins | 2009-05-01 | 1 | -2/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Add microsecond support for sqlite adapter [#1982 state:resolved] | Alex Pooley | 2009-04-21 | 1 | -0/+10 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fixed dumping from postgresql columns in index in wrong order. [#2515 ↵ | Max Lapshin | 2009-04-21 | 1 | -15/+18 |
| | | | | | | state:resolved] Signed-off-by: Tarmo Tänav <tarmo@itech.ee> | ||||
* | Quote table names when casting to regclass so that capitalized tables are ↵ | Scott Woods | 2009-04-21 | 1 | -3/+3 |
| | | | | | | supported. [#2418 state:resolved] Signed-off-by: Tarmo Tänav <tarmo@itech.ee> | ||||
* | Fixed wrong quoting of index names in postgres [#2402 state:resolved] | Max Lapshin | 2009-04-21 | 1 | -1/+1 |
| | | | | Signed-off-by: Tarmo Tänav <tarmo@itech.ee> | ||||
* | Support multiple schemas in table names for postgresql [#390 state:resolved] | Max Lapshin | 2009-04-05 | 1 | -1/+30 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | SQLite adapters now support DDL transactions [#2080 state:resolved] | Jason King | 2009-03-14 | 1 | -22/+33 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure SQLite adapters stores the config [#1947 state:resolved] [John ↵ | John Aughey | 2009-03-08 | 2 | -3/+8 |
| | | | | | | Aughey, Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure ActiveRecord session store's connections are checked in after each ↵ | Joshua Peek | 2009-02-24 | 1 | -0/+16 |
| | | | | request [#1927 state:resolved] | ||||
* | Support true/false in query_attribute for calculated columns | Max Lapshin | 2009-02-06 | 1 | -0/+1 |
| | | | | | Signed-off-by: Tarmo Tänav <tarmo@itech.ee> Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Sqlite adapter's copy_table incorrectly attempts to recreate a primary key ↵ | Jacob Dunphy | 2009-01-29 | 1 | -1/+1 |
| | | | | | | | | | id (:id => true in the create_table) if an :id column is present, even if it isn't a primary_key. This fix sets :id => false if there is an :id column, but it's not the primary_key. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1766 state:committed] | ||||
* | Mysql#reconnect is set according to the 'reconnect' key in the connection spec. | Dov Murik | 2009-01-27 | 1 | -2/+5 |
| | | | | | | | | | | | | The 'reconenct' boolean option is read from the connection specification and is used to set the reconnect attribute of Mysql. The default is false in order not to change existing application behaviour. Also, reconnect is set AFTER real_connect is called, so its value sticks (the mysql gem sets reconnect to false inside real_connect). Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1797 state:committed] | ||||
* | Fix PostgreSQL unit test failures that only occur when using the old ↵ | Hongli Lai (Phusion) | 2009-01-13 | 2 | -10/+12 |
| | | | | | | | | 'postgres' driver. [#1748 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Introduce transaction_joinable flag to mark that the fixtures transaction ↵ | Jeremy Kemper | 2009-01-10 | 2 | -25/+25 |
| | | | | | | can't joined, a new savepoint is required even if :requires_new is not set. Use :requires_new option instead of :nest. Update changelog. [#383 state:committed] | ||||
* | Merge branch 'master' into savepoints | Jeremy Kemper | 2009-01-10 | 7 | -58/+76 |
|\ | |||||
| * | Add transaction check to SQLite2 adapter to fix ↵ | Mike Gunderloy | 2008-12-30 | 1 | -0/+4 |
| | | | | | | | | | | | | test_sqlite_add_column_in_transaction_raises_statement_invalid [#1669 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Inline code comments for class_eval/module_eval [#1657 state:resolved] | Xavier Noria | 2008-12-28 | 4 | -48/+50 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Merge docrails | Pratik Naik | 2008-12-19 | 2 | -1/+4 |
| | | |||||
| * | Free MySQL::Result objects after a call to execute [#1416 state:resolved] | Manfred Stienstra | 2008-12-18 | 1 | -4/+13 |
| | | | | | | | | | | | | | | | | No freeing Result objects causes the MySQL driver to free result sets at undefined times, this can lead to erratic performance in your application. Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | ||||
| * | Benchmark.ms | Jeremy Kemper | 2008-12-09 | 1 | -5/+5 |
| | | |||||
* | | Merge commit 'origin/master' into savepoints | Hongli Lai (Phusion) | 2008-12-09 | 2 | -6/+11 |
|\| | |||||
| * | Merge with docrails | Pratik Naik | 2008-12-07 | 2 | -6/+11 |
| | | |||||
* | | Merge commit 'origin/master' into savepoints | Hongli Lai (Phusion) | 2008-12-03 | 3 | -15/+21 |
|\| | | | | | | | | | | | Conflicts: activerecord/lib/active_record/fixtures.rb activerecord/test/cases/defaults_test.rb | ||||
| * | Autoload ActiveRecord files | Joshua Peek | 2008-11-24 | 1 | -0/+1 |
| | | |||||
| * | Remove reset! as a connection#checkout callback | Pratik Naik | 2008-11-19 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into testing | Jeremy Kemper | 2008-11-08 | 1 | -3/+11 |
| |\ | |||||
| | * | Timeout the connection pool monitor on ruby 1.8 only | Jeremy Kemper | 2008-11-08 | 1 | -3/+11 |
| | | | |||||
| * | | Merge branch 'master' into testing | Jeremy Kemper | 2008-11-07 | 3 | -14/+6 |
| |\| | |||||
| | * | Don't leave open dangling connections in development mode. [#1335 ↵ | Pratik Naik | 2008-11-08 | 1 | -2/+1 |
| | | | | | | | | | | | | state:resolved] | ||||
| | * | Simplify dispatcher callbacks to eliminate unnecessary stale thread purging. ↵ | Nick Sieger | 2008-11-08 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | | | [Nick Sieger, Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| | * | Revert commit which breaks all the tests. | Michael Koziarski | 2008-11-07 | 1 | -8/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8adb79b9b5983cda8dbdd4ef401661fbd51d8844. Conflicts: activerecord/CHANGELOG | ||||
| * | | undef abstract methods instead of raising NotImplementedError. Still need ↵ | Jeremy Kemper | 2008-11-07 | 1 | -4/+4 |
| |/ | | | | | | | the definitions for rdoc though. | ||||
| * | Stop logging SHOW FIELDS and SET SQL_AUTO_IS_NULL=0 for the MysqlAdapter as ↵ | David Heinemeier Hansson | 2008-11-06 | 1 | -4/+8 |
| | | | | | | | | they only clutter up the log and offer no value [DHH] | ||||
| * | Make sure ActiveRecord::Base.connected? doesn't raise an exception for ↵ | Pratik Naik | 2008-11-06 | 1 | -1/+2 |
| | | | | | | | | defined connections | ||||
| * | Ensure ActiveRecord::ConnectionPool.connected? handles undefined ↵ | Wes Oldenbeuving | 2008-11-06 | 1 | -1/+1 |
| | | | | | | | | | | | | connections. [#936 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | | Reimplement Jeremy's PostgreSQL automatic transaction state introspection code. | Hongli Lai (Phusion) | 2008-11-03 | 2 | -2/+28 |
| | | | | | | | | | | | | - Fixed compatibility with the old 'postgres' driver which doesn't support transaction state introspection. - Added unit tests for it. | ||||
* | | Make SQLite3 pass the unit tests for savepoints. | Hongli Lai (Phusion) | 2008-11-03 | 3 | -0/+14 |
| | | |||||
* | | Fix a stale typo in the PostgreSQL adapter. Fix a stale mock expection in ↵ | Hongli Lai (Phusion) | 2008-11-03 | 1 | -1/+1 |
| | | | | | | | | transaction_test. | ||||
* | | Revert "PostgreSQL: introduce transaction_active? rather than tracking ↵ | Hongli Lai (Phusion) | 2008-11-03 | 1 | -38/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | activity ourselves" This commit conflicts with savepoint support. This reverts commit 045713ee240fff815edb5962b25d668512649478. Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | ||||
* | | Improve documentation for DatabaseStatements#transactions and ↵ | Hongli Lai (Phusion) | 2008-11-03 | 2 | -6/+72 |
| | | | | | | | | AbstractAdapter#transactional_fixtures, especially with regard to support for nested transactions. | ||||
* | | Implement savepoints. | Jonathan Viney | 2008-11-03 | 4 | -6/+47 |
|/ |