Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Fix #microseconds conversion and #fast_string_to_time" | Pratik Naik | 2010-01-17 | 1 | -7/+6 |
| | | | | This reverts commit 717a2941e15b32d07cc456bb0d81742ecfc5b4a3. Bunch of failures when running postgresql tests. | ||||
* | Fix #microseconds conversion and #fast_string_to_time | Chris Hapgood | 2010-01-16 | 1 | -6/+7 |
| | | | | | | | | * Use direct integer parsing in #fast_string_to_time to avoid convoluted conversions and errors due to truncation. * Use Float#round in #microseconds to avoid truncation errors. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Move AR logging responsibilities to ActiveRecord::Railties::Subscriber. | José Valim | 2010-01-13 | 1 | -1/+2 |
| | |||||
* | Remove allow_concurrency and verification_timeout from ActiveRecord::Base ↵ | José Valim | 2010-01-13 | 1 | -20/+0 |
| | | | | (deprecated since 2.2). | ||||
* | Set deprecation warnings for RAILS_ENV and RAILS_DEFAULT_LOGGER. | José Valim | 2010-01-13 | 1 | -2/+2 |
| | |||||
* | Expose connections available in the connection pool. | José Valim | 2010-01-11 | 1 | -1/+1 |
| | |||||
* | Allow AR::Schema's migrations_path to be overwritten by subclasses. Defaults ↵ | Jeffrey Hardy | 2010-01-08 | 1 | -2/+2 |
| | | | | | | | | to 'db/migrate' [#3671 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Remove locking related unused code | Pratik Naik | 2009-12-28 | 1 | -12/+0 |
| | |||||
* | Modify connection pool callbacks to be compatible w/ new style | Nick Sieger | 2009-10-16 | 1 | -6/+8 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Merge commit 'rails/master' | Emilio Tagua | 2009-08-10 | 2 | -2/+17 |
|\ | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/calculations.rb activerecord/lib/active_record/connection_adapters/mysql_adapter.rb activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | ||||
| * | Use table prefix and suffix for schema_migrations index. | Tim Peters | 2009-08-09 | 1 | -1/+1 |
| | | | | | | | | | | | | [#1543 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | PostgreSQL: XML datatype support | Leonardo Borges | 2009-08-09 | 1 | -0/+15 |
| | | | | | | | | | | | | [#1874 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Fix that creating a table whose primary key prefix type is :table_name ↵ | Morgan Schweers | 2009-08-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | generates an incorrectly pluralized primary key. [#872 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-06 | 1 | -2/+1 |
|\| | |||||
| * | Ruby 1.9.2 compat: Array#* uses to_str instead of to_s to join values since ↵ | Akira Matsuda | 2009-08-05 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | Ruby 1.9.2 [#2959 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-08-05 | 1 | -1/+6 |
|\| | |||||
| * | Revert "fallback_string_to_date sets Date._parse comp arg to true, so that ↵ | Geoff Buesing | 2009-08-05 | 1 | -1/+1 |
| | | | | | | | | | | | | strings with two-digit years, e.g. '1/1/09', are interpreted as modern years" [#2019 state:wontfix] This reverts commit 55d1d12c32a1b99f3f07d2346b49a63650ba2e9d. | ||||
| * | fallback_string_to_date sets Date._parse comp arg to true, so that strings ↵ | Matt Ganderup | 2009-08-03 | 1 | -1/+1 |
| | | | | | | | | with two-digit years, e.g. '1/1/09', are interpreted as modern years [#2019 state:resolved] | ||||
| * | quoted_date converts time-like objects to ↵ | Geoff Buesing | 2009-08-03 | 1 | -1/+6 |
| | | | | | | | | ActiveRecord::Base.default_timezone before serialization. This allows you to use Time.now in find conditions and have it correctly be serialized as the current time in UTC when default_timezone == :utc [#2946 state:resolved] | ||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-07-31 | 2 | -1/+9 |
|\| | | | | | | | | | Conflicts: activerecord/lib/active_record/associations.rb | ||||
| * | Merge docrails | Pratik Naik | 2009-07-25 | 2 | -1/+9 |
| | | |||||
* | | Create is now powered by Arel. Removed methods that are no longer used. | Emilio Tagua | 2009-07-01 | 1 | -2/+2 |
| | | |||||
* | | Merge commit 'rails/master' | Emilio Tagua | 2009-06-23 | 1 | -1/+1 |
|\| | |||||
| * | 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> | ||||
* | | Removed unused methods. | Emilio Tagua | 2009-06-23 | 1 | -27/+0 |
| | | |||||
* | | Arel now buils SQL queries for associations. Removed old code and | Emilio Tagua | 2009-06-23 | 1 | -6/+0 |
| | | | | | | | | updated Arel version to support this. | ||||
* | | Refactors to work with latest Arel implementation. | Emilio Tagua | 2009-06-02 | 1 | -2/+2 |
|/ | |||||
* | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 2 | -0/+3 |
| | |||||
* | 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> | ||||
* | 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> | ||||
* | Fix PostgreSQL unit test failures that only occur when using the old ↵ | Hongli Lai (Phusion) | 2009-01-13 | 1 | -4/+8 |
| | | | | | | | | '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 | 1 | -15/+16 |
| | | | | | | 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 | 3 | -31/+34 |
|\ | |||||
| * | Inline code comments for class_eval/module_eval [#1657 state:resolved] | Xavier Noria | 2008-12-28 | 2 | -30/+30 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Merge docrails | Pratik Naik | 2008-12-19 | 2 | -1/+4 |
| | | |||||
* | | Merge commit 'origin/master' into savepoints | Hongli Lai (Phusion) | 2008-12-09 | 1 | -0/+2 |
|\| | |||||
| * | Merge with docrails | Pratik Naik | 2008-12-07 | 1 | -0/+2 |
| | | |||||
* | | Merge commit 'origin/master' into savepoints | Hongli Lai (Phusion) | 2008-12-03 | 2 | -12/+18 |
|\| | | | | | | | | | | | Conflicts: activerecord/lib/active_record/fixtures.rb activerecord/test/cases/defaults_test.rb | ||||
| * | 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 | 1 | -4/+1 |
| |\| | |||||
| | * | 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> | ||||
| * | | undef abstract methods instead of raising NotImplementedError. Still need ↵ | Jeremy Kemper | 2008-11-07 | 1 | -4/+4 |
| |/ | | | | | | | the definitions for rdoc though. | ||||
| * | 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 | 1 | -2/+18 |
| | | | | | | | | | | | | - Fixed compatibility with the old 'postgres' driver which doesn't support transaction state introspection. - Added unit tests for it. | ||||
* | | Improve documentation for DatabaseStatements#transactions and ↵ | Hongli Lai (Phusion) | 2008-11-03 | 1 | -6/+69 |
| | | | | | | | | AbstractAdapter#transactional_fixtures, especially with regard to support for nested transactions. | ||||
* | | Implement savepoints. | Jonathan Viney | 2008-11-03 | 1 | -6/+10 |
|/ |