aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | renamed class SQLiteColumn to SQLite3ColumnAndrey Deryabin2012-04-271-3/+3
| | | | |
* | | | | removed tail of old sqlite versionsAndrey Deryabin2012-04-271-9/+9
| | | | |
* | | | | fix SQLite3Adapter docAndrey Deryabin2012-04-271-2/+2
| | | | |
* | | | | Upgrade sqlite3 version to 1.3.6Andrey Deryabin2012-04-271-1/+1
| | | | |
* | | | | merged sqlite and sqlite3 adaptersAndrey Deryabin2012-04-272-546/+538
| | | | |
* | | | | EXPLAIN only for sqlite3Andrey Deryabin2012-04-262-24/+25
| |_|_|/ |/| | |
* | | | Merge pull request #5973 from academia-edu/masterAaron Patterson2012-04-251-2/+1
|\ \ \ \ | | | | | | | | | | Always quote hstore keys and values
| * | | | Restore .to_s to escape_hstoreRyan Fitzgerald2012-04-241-1/+1
| | | | |
| * | | | Always quote hstore keys and valuesRyan Fitzgerald2012-04-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | escape_hstore uses quotation marks around keys and values only if it seems necessary. However, it currently breaks in the presence of some non-ASCII characters. Instead of trying to guess exactly which characters are safe, it seems better to always use quotes.
* | | | | Merge pull request #5976 from aderyabin/fix1Jeremy Kemper2012-04-251-5/+0
|\ \ \ \ \ | | | | | | | | | | | | Duplicate quote_table_name method
| * | | | | already defined in quotingAndrey Deryabin2012-04-251-5/+0
| |/ / / /
* / / / / cleanliness in method parametersAndrey Deryabin2012-04-251-1/+1
|/ / / /
* | | | be sure to currectly fetch PK name from MySQL even if the PK has some custom ↵Akira Matsuda2012-04-191-1/+1
| | | | | | | | | | | | | | | | option
* | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-181-1/+1
|\ \ \ \
| * | | | Fix typo on the add_index.kennyj2012-04-131-1/+1
| | | | |
* | | | | opening a connection will block if the pool is fullAaron Patterson2012-04-151-20/+39
| | | | |
* | | | | Automatically create indexes for references/belongs_to statements in migrations.Joshua Wood2012-04-142-4/+21
|/ / / /
* | | | Fix delete_all when chained with joins.Rafael Mendonça França2012-04-102-14/+30
| | | | | | | | | | | | | | | | Closes #5202 and #919
* | | | Merge pull request #5716 from jurriaan/tr-gsub-cleanupSantiago Pastorino2012-04-042-3/+3
|\ \ \ \ | | | | | | | | | | Updated/changed unneeded tr/gsubs
| * | | | Updated/changed useless tr/gsubsJurriaan Pruis2012-04-032-3/+3
| |/ / /
* / / / Remove unnecessary articles.Waseem Ahmad2012-04-031-3/+3
|/ / /
* | | Deprecate Column#type_cast_codeCarlos Antonio da Silva2012-03-291-0/+4
| | |
* | | Merge pull request #4843 from seamusabshere/patch-1Xavier Noria2012-03-281-1/+1
|\ \ \ | | | | | | | | Possibly clearer way of getting rid of ` and "
| * | | thanks to @jurriaanSeamus Abshere2012-02-141-1/+1
| | | |
| * | | Possibly clearer way of getting rid of ` and " Seamus Abshere2012-02-011-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 Ahmad2012-03-241-1/+1
| | | |
* | | | errors should probably be logged as errorsAaron Patterson2012-03-151-20/+19
| | | |
* | | | Fix GH #5430. A Payload name for schema_search_path should be SCHEMA.kennyj2012-03-151-1/+1
| | | |
* | | | make sure connections returned after close are marked as in_useAaron Patterson2012-03-121-4/+17
| | | |
* | | | deprecated clear_stale_active_connections! can call #reap instead of ↵Jonathan Rochkind2012-03-121-1/+2
| | | | | | | | | | | | | | | | no-op'ing, #reap does the same thing
* | | | make active_connection? return true only if there is an open connection in ↵Aaron Patterson2012-03-081-7/+4
| | | | | | | | | | | | | | | | use for the current thread. fixes #5330
* | | | Merge pull request #5162 from kennyj/schema_cache_dumpAaron Patterson2012-03-072-16/+53
|\ \ \ \ | | | | | | | | | | [Proposal] Schema cache dump
| * | | | Support judgement expired schema cache dump.kennyj2012-03-011-3/+6
| | | | |
| * | | | Load db/schema_cache.dump duaring boot time.kennyj2012-03-012-1/+6
| | | | |
| * | | | Add db:schema:cache:dump and db:schema:cache:clear tasks.kennyj2012-03-011-0/+9
| | | | |
| * | | | Add support schema cache dump and load.kennyj2012-03-011-14/+34
| | | | |
* | | | | Merge pull request #5315 from ↵Aaron Patterson2012-03-071-0/+21
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | travisjeffery/enhance_postgresql_adapter_schema_support Enhance PostgreSQL Adapter schema support
| * | | | | Adds #create/drop_schema on the PostgreSQL Adapter.Travis Jeffery2012-03-071-0/+10
| | | | | |
| * | | | | Add #schema_names to PostgreSQL Adapter.Travis Jeffery2012-03-071-0/+11
| | | | | |
* | | | | | Fix GH #3163. Should quote database on mysql/mysql2.kennyj2012-03-051-1/+1
|/ / / / /
* | | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-031-0/+3
|\ \ \ \ \
| * | | | | Add documentation for IndexDefinition.Waseem Ahmad2012-03-021-0/+3
| |/ / / /
* | | | / only log an error if there is a logger. fixes #5226Aaron Patterson2012-03-022-2/+2
| |_|_|/ |/| | |
* | | | revert setting NOT NULL constraints in add_timestampsXavier Noria2012-03-011-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 columnsAaron Patterson2012-02-271-4/+4
| | |
* | | Merge pull request #5168 from kennyj/fix_5152Aaron Patterson2012-02-271-1/+1
|\ \ \ | | | | | | | | [PostgreSQL] Remove NULLS FIRST/LAST. Closes #5152
| * | | Remove NULLS FIRST/LAST. closes #5152kennyj2012-02-251-1/+1
| | | |
* | | | Fix type_to_sql with text and limit on mysql/mysql2. Fix GH #3931.kennyj2012-02-261-9/+20
|/ / /
* | | removes verify_active_connections!Xavier Noria2012-02-241-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 disabledAaron Patterson2012-02-216-28/+53
| | |