Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | be sure to currectly fetch PK name from MySQL even if the PK has some custom ↵ | Akira Matsuda | 2012-04-19 | 1 | -1/+1 |
| | | | | option | ||||
* | 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 | 2 | -14/+30 |
| | | | | Closes #5202 and #919 | ||||
* | Merge pull request #5716 from jurriaan/tr-gsub-cleanup | Santiago Pastorino | 2012-04-04 | 2 | -3/+3 |
|\ | | | | | Updated/changed unneeded tr/gsubs | ||||
| * | Updated/changed useless tr/gsubs | Jurriaan Pruis | 2012-04-03 | 2 | -3/+3 |
| | | |||||
* | | Remove unnecessary articles. | Waseem Ahmad | 2012-04-03 | 1 | -3/+3 |
|/ | |||||
* | Deprecate Column#type_cast_code | Carlos Antonio da Silva | 2012-03-29 | 1 | -0/+4 |
| | |||||
* | Merge pull request #4843 from seamusabshere/patch-1 | Xavier Noria | 2012-03-28 | 1 | -1/+1 |
|\ | | | | | Possibly clearer way of getting rid of ` and " | ||||
| * | thanks to @jurriaan | Seamus Abshere | 2012-02-14 | 1 | -1/+1 |
| | | |||||
| * | Possibly clearer way of getting rid of ` and " | Seamus Abshere | 2012-02-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Incidentally it's also faster... >> a = 'hello "id` world'; Benchmark.realtime { 500_000.times { a.tr('`"', "") } } => 0.7388770580291748 >> a = 'hello "id` world'; Benchmark.realtime { 500_000.times { a.gsub(/[`"]/, "") } } => 1.7843739986419678 | ||||
* | | Use one 'be'. | Waseem Ahmad | 2012-03-24 | 1 | -1/+1 |
| | | |||||
* | | errors should probably be logged as errors | Aaron Patterson | 2012-03-15 | 1 | -20/+19 |
| | | |||||
* | | Fix GH #5430. A Payload name for schema_search_path should be SCHEMA. | kennyj | 2012-03-15 | 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 pull request #5162 from kennyj/schema_cache_dump | Aaron Patterson | 2012-03-07 | 2 | -16/+53 |
|\ \ | | | | | | | [Proposal] Schema cache dump | ||||
| * | | Support judgement expired schema cache dump. | kennyj | 2012-03-01 | 1 | -3/+6 |
| | | | |||||
| * | | Load db/schema_cache.dump duaring boot time. | kennyj | 2012-03-01 | 2 | -1/+6 |
| | | | |||||
| * | | Add db:schema:cache:dump and db:schema:cache:clear tasks. | kennyj | 2012-03-01 | 1 | -0/+9 |
| | | | |||||
| * | | Add support schema cache dump and load. | kennyj | 2012-03-01 | 1 | -14/+34 |
| | | | |||||
* | | | Merge pull request #5315 from ↵ | Aaron Patterson | 2012-03-07 | 1 | -0/+21 |
|\ \ \ | | | | | | | | | | | | | | | | | travisjeffery/enhance_postgresql_adapter_schema_support Enhance PostgreSQL Adapter schema support | ||||
| * | | | Adds #create/drop_schema on the PostgreSQL Adapter. | Travis Jeffery | 2012-03-07 | 1 | -0/+10 |
| | | | | |||||
| * | | | Add #schema_names to PostgreSQL Adapter. | Travis Jeffery | 2012-03-07 | 1 | -0/+11 |
| | | | | |||||
* | | | | Fix GH #3163. Should quote database on mysql/mysql2. | kennyj | 2012-03-05 | 1 | -1/+1 |
|/ / / | |||||
* | | | 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 |
| |/ / | |||||
* | | | only log an error if there is a logger. fixes #5226 | Aaron Patterson | 2012-03-02 | 2 | -2/+2 |
| | | | |||||
* | | | 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 |
| | | |||||
* | | Merge pull request #5168 from kennyj/fix_5152 | Aaron Patterson | 2012-02-27 | 1 | -1/+1 |
|\ \ | | | | | | | [PostgreSQL] Remove NULLS FIRST/LAST. Closes #5152 | ||||
| * | | Remove NULLS FIRST/LAST. closes #5152 | kennyj | 2012-02-25 | 1 | -1/+1 |
| | | | |||||
* | | | Fix type_to_sql with text and limit on mysql/mysql2. Fix GH #3931. | kennyj | 2012-02-26 | 1 | -9/+20 |
|/ / | |||||
* | | 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 | 6 | -28/+53 |
| | | |||||
* | | more ruby 2.0 respond_to? changes | Aaron Patterson | 2012-02-21 | 1 | -1/+1 |
| | | |||||
* | | tag bind params with a bind param object | Aaron Patterson | 2012-02-20 | 3 | -3/+3 |
| | | |||||
* | | removed commented line. 3434 tests, 10531 assertions, 0 failures, 0 errors, ↵ | William Lawson | 2012-02-20 | 1 | -1/+0 |
| | | | | | | | | 31 skips | ||||
* | | Restored ability to identify ID and Sequence from tables relying on a ↵ | William Lawson | 2012-02-20 | 1 | -16/+37 |
| | | | | | | | | nonmatching sequence default value for PK. | ||||
* | | use Process.pid rather than $$ | Aaron Patterson | 2012-02-16 | 3 | -7/+7 |
| | | |||||
* | | database connections are automatically established after forking. | Aaron Patterson | 2012-02-16 | 2 | -14/+52 |
| | | | | | | | | Connection pools are 1:1 with pids. | ||||
* | | Autoload various constants effectively in abstract connection adapter. | Waseem Ahmad | 2012-02-16 | 1 | -9/+12 |
| | | |||||
* | | 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 | ||||
* | | remove unnecessary require core_ext/string/encoding | Sergey Nartimov | 2012-02-14 | 1 | -1/+0 |
| | | |||||
* | | Alias reconnect! to reset! for Mysql2 adapter since they have same | Waseem Ahmad | 2012-02-12 | 1 | -5/+1 |
| | | | | | | | | behavior. | ||||
* | | PG column consults oid types when typecasting | Aaron Patterson | 2012-02-10 | 3 | -7/+22 |
| | | |||||
* | | dynamically populate casting objects via the pg_type table | Aaron Patterson | 2012-02-10 | 2 | -35/+74 |
| | |