Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #5362 from zenprogrammer/quoting_bug | Aaron Patterson | 2012-05-09 | 1 | -0/+1 |
|\ | | | | | Fixed bug in ActiveRecord that caused classes to be quoted incorrectly | ||||
| * | Fixed bug in Quoting that caused classes to be quoted incorrectly | Ryan Oblak | 2012-03-09 | 1 | -0/+1 |
| | | |||||
* | | Refactored remove_column | Edgars Beigarts | 2012-05-02 | 2 | -3/+1 |
| | | |||||
* | | Remove unused assignments | Mark Rushakoff | 2012-04-29 | 1 | -5/+3 |
| | | |||||
* | | Merge pull request #5698 from dougcole/support_postgresql_partitioning | Aaron Patterson | 2012-04-27 | 1 | -2/+2 |
|\ \ | | | | | | | Support postgresql partitioning by making INSERT RETURNING optional | ||||
| * | | add use_returning as a postgresql connection config | Doug Cole | 2012-03-31 | 1 | -2/+2 |
| | | | |||||
* | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-18 | 1 | -1/+1 |
|\ \ \ | |||||
| * | | | Fix typo on the add_index. | kennyj | 2012-04-13 | 1 | -1/+1 |
| | | | | |||||
* | | | | opening a connection will block if the pool is full | Aaron Patterson | 2012-04-15 | 1 | -20/+39 |
| | | | | |||||
* | | | | Automatically create indexes for references/belongs_to statements in migrations. | Joshua Wood | 2012-04-14 | 2 | -4/+21 |
|/ / / | |||||
* | | | Fix delete_all when chained with joins. | Rafael Mendonça França | 2012-04-10 | 1 | -3/+17 |
| | | | | | | | | | | | | Closes #5202 and #919 | ||||
* | | | Merge pull request #5716 from jurriaan/tr-gsub-cleanup | Santiago Pastorino | 2012-04-04 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Updated/changed unneeded tr/gsubs | ||||
| * | | | Updated/changed useless tr/gsubs | Jurriaan Pruis | 2012-04-03 | 1 | -1/+1 |
| |/ / | |||||
* / / | Remove unnecessary articles. | Waseem Ahmad | 2012-04-03 | 1 | -3/+3 |
|/ / | |||||
* | | Use one 'be'. | Waseem Ahmad | 2012-03-24 | 1 | -1/+1 |
| | | |||||
* | | make sure connections returned after close are marked as in_use | Aaron Patterson | 2012-03-12 | 1 | -4/+17 |
| | | |||||
* | | deprecated clear_stale_active_connections! can call #reap instead of ↵ | Jonathan Rochkind | 2012-03-12 | 1 | -1/+2 |
| | | | | | | | | no-op'ing, #reap does the same thing | ||||
* | | make active_connection? return true only if there is an open connection in ↵ | Aaron Patterson | 2012-03-08 | 1 | -7/+4 |
| | | | | | | | | use for the current thread. fixes #5330 | ||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-03-03 | 1 | -0/+3 |
|\ \ | |/ |/| | |||||
| * | Add documentation for IndexDefinition. | Waseem Ahmad | 2012-03-02 | 1 | -0/+3 |
| | | |||||
* | | revert setting NOT NULL constraints in add_timestamps | Xavier Noria | 2012-03-01 | 1 | -2/+2 |
|/ | | | | | | | | | | | Commit 3dbedd2 added NOT NULL constraints both to table creation and modification. For creation the new default makes sense, but the generic situation for changing a table is that there exist records. Those records have no creation or modification timestamps, and in the general case you don't even know them, so when updating a table these constraints are not going to work. See a bug report for this use case in #3334. | ||||
* | use bind values for join columns | Aaron Patterson | 2012-02-27 | 1 | -4/+4 |
| | |||||
* | removes verify_active_connections! | Xavier Noria | 2012-02-24 | 1 | -15/+0 |
| | | | | | | | The method verify_active_connections! was used in the old days (up to 2.1 I think) by the dispatcher to verify the connections, but nowadays we do that in a different way and this method is obsolete. | ||||
* | prepared statements can be disabled | Aaron Patterson | 2012-02-21 | 2 | -8/+10 |
| | |||||
* | use Process.pid rather than $$ | Aaron Patterson | 2012-02-16 | 1 | -5/+5 |
| | |||||
* | database connections are automatically established after forking. | Aaron Patterson | 2012-02-16 | 1 | -13/+47 |
| | | | | Connection pools are 1:1 with pids. | ||||
* | Revert "No need to pass options which is never used" | Rafael Mendonça França | 2012-02-15 | 1 | -2/+2 |
| | | | | | | | | | Options is needed for some Rails extensions to determine when referential integrity should be disabled This reverts commit bcb466c543451dce69403aaae047295758589d8e. Fixes #5052 | ||||
* | Made schema dumper recognize partial indices' where statements | Marcelo Silveira | 2012-02-09 | 1 | -1/+1 |
| | |||||
* | Added where option to add_index to support postgresql partial indices | Marcelo Silveira | 2012-02-09 | 1 | -3/+13 |
| | | | | | | | | | | | The `add_index` method now supports a `where` option that receives a string with the partial index criteria. add_index(:accounts, :code, :where => "active") Generates CREATE INDEX index_accounts_on_code ON accounts(code) WHERE active | ||||
* | Remove useless argument in #columns. | Sebastian Martinez | 2012-02-02 | 1 | -1/+1 |
| | |||||
* | QueryCache will just dup an AR::Result, AR::Result can deep copy | Aaron Patterson | 2012-01-31 | 1 | -9/+15 |
| | |||||
* | query cache instrumentation should included the bindings in the payload ↵ | Xavier Noria | 2012-01-30 | 1 | -1/+1 |
| | | | | [closes #4750] | ||||
* | Add `create_join_table` migration helper to create HABTM join tables | Rafael Mendonça França | 2012-01-27 | 1 | -0/+42 |
| | |||||
* | Only show the type if column is present | Rafael Mendonça França | 2012-01-23 | 1 | -1/+2 |
| | |||||
* | Don't type-cast unknown types to YAML. | Stephen Celis | 2012-01-20 | 1 | -1/+1 |
| | |||||
* | use Rack::BodyProxy in activerecord middlewares | Sergey Nartimov | 2012-01-16 | 1 | -31/+5 |
| | |||||
* | refactor schema migration table creation to the schema migration model | Aaron Patterson | 2012-01-13 | 1 | -9/+1 |
| | |||||
* | use the schema migration model to dump schema info | Aaron Patterson | 2012-01-13 | 1 | -2/+5 |
| | |||||
* | dropping support for `schema_info`. | Aaron Patterson | 2012-01-10 | 1 | -12/+0 |
| | |||||
* | Remove Array.wrap calls in ActiveRecord | Rafael Mendonça França | 2012-01-06 | 1 | -5/+4 |
| | |||||
* | updating the reaping frequency documentation | Aaron Patterson | 2011-12-30 | 1 | -0/+3 |
| | |||||
* | rename start to run and use Thread.pass rather than sleeping to schedule the ↵ | Aaron Patterson | 2011-12-30 | 1 | -2/+2 |
| | | | | watchdog | ||||
* | connection pool starts the reaper | Aaron Patterson | 2011-12-30 | 1 | -0/+1 |
| | |||||
* | each connection pool has a reaper | Aaron Patterson | 2011-12-30 | 1 | -1/+5 |
| | |||||
* | introduce a timer class for reaping connections | Aaron Patterson | 2011-12-30 | 1 | -0/+19 |
| | |||||
* | raise a pull full error when the connection pool is full and no connection ↵ | Aaron Patterson | 2011-12-30 | 1 | -18/+20 |
| | | | | can be obtained | ||||
* | connections are only removed if they are inactve | Aaron Patterson | 2011-12-30 | 1 | -1/+1 |
| | |||||
* | connections can be reaped via the `reap` method | Aaron Patterson | 2011-12-30 | 1 | -0/+12 |
| | |||||
* | deal with removing connections associated with the current thread | Aaron Patterson | 2011-12-30 | 1 | -0/+7 |
| | |||||
* | connections can be removed from the pool | Aaron Patterson | 2011-12-30 | 1 | -1/+9 |
| |