Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | renamed class SQLiteColumn to SQLite3Column | Andrey Deryabin | 2012-04-27 | 1 | -3/+3 | |
| | | | | | ||||||
* | | | | | removed tail of old sqlite versions | Andrey Deryabin | 2012-04-27 | 1 | -9/+9 | |
| | | | | | ||||||
* | | | | | fix SQLite3Adapter doc | Andrey Deryabin | 2012-04-27 | 1 | -2/+2 | |
| | | | | | ||||||
* | | | | | Upgrade sqlite3 version to 1.3.6 | Andrey Deryabin | 2012-04-27 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | merged sqlite and sqlite3 adapters | Andrey Deryabin | 2012-04-27 | 2 | -546/+538 | |
| | | | | | ||||||
* | | | | | EXPLAIN only for sqlite3 | Andrey Deryabin | 2012-04-26 | 2 | -24/+25 | |
| |_|_|/ |/| | | | ||||||
* | | | | Merge pull request #5973 from academia-edu/master | Aaron Patterson | 2012-04-25 | 1 | -2/+1 | |
|\ \ \ \ | | | | | | | | | | | Always quote hstore keys and values | |||||
| * | | | | Restore .to_s to escape_hstore | Ryan Fitzgerald | 2012-04-24 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Always quote hstore keys and values | Ryan Fitzgerald | 2012-04-24 | 1 | -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/fix1 | Jeremy Kemper | 2012-04-25 | 1 | -5/+0 | |
|\ \ \ \ \ | | | | | | | | | | | | | Duplicate quote_table_name method | |||||
| * | | | | | already defined in quoting | Andrey Deryabin | 2012-04-25 | 1 | -5/+0 | |
| |/ / / / | ||||||
* / / / / | cleanliness in method parameters | Andrey Deryabin | 2012-04-25 | 1 | -1/+1 | |
|/ / / / | ||||||
* | | | | 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 | |
| | | |