Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Support for multi-table updates with limits, offsets and orders | Jon Leighton | 2011-08-15 | 3 | -2/+47 | |
| | | | ||||||
* | | | Support updates with joins. Fixes #522. | Jon Leighton | 2011-08-15 | 3 | -0/+17 | |
| | | | ||||||
* | | | add the gem requirement for sqlite3 | Aaron Patterson | 2011-08-10 | 1 | -0/+2 | |
| | | | ||||||
* | | | Remove TODO comment I didn't mean to commit | Jon Leighton | 2011-08-09 | 1 | -2/+0 | |
| | | | ||||||
* | | | Make it the responsibility of the connection to hold onto an ARel visitor ↵ | Jon Leighton | 2011-08-08 | 8 | -20/+81 | |
| | | | | | | | | | | | | for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now. | |||||
* | | | sqlite transactions now logged | Gustavo Delfino | 2011-08-06 | 1 | -3/+3 | |
| | | | | | | | | | motivation: http://stackoverflow.com/questions/6892630/sqlite-transactions-not-showing-in-test-log | |||||
* | | | accept option for recreate db for postgres (same as mysql now) | artemk | 2011-08-04 | 1 | -2/+4 | |
| | | | ||||||
* | | | initializing @open_transactions in the initialize method | Aaron Patterson | 2011-08-03 | 1 | -4/+2 | |
| | | | ||||||
* | | | remove deprication warning for ruby 1.9.3-head for unused variables | Vishnu Atrai | 2011-07-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | Simplify the way default DATABASE_URL works. | Glenn Gillen | 2011-07-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fixes typo | Vijay Dev | 2011-07-22 | 1 | -1/+1 | |
| | | | ||||||
* | | | adding more tests around database uri parsing | Aaron Patterson | 2011-07-21 | 1 | -5/+3 | |
| | | | ||||||
* | | | Add documentation for URL connection strings. | Glenn Gillen | 2011-07-20 | 1 | -0/+6 | |
| | | | ||||||
* | | | Added test for postgres connections as URL. Fixed query param parsing. | Glenn Gillen | 2011-07-20 | 1 | -1/+1 | |
| | | | ||||||
* | | | Provide database connection settings as a URL. | Glenn Gillen | 2011-07-20 | 1 | -0/+22 | |
| | | | ||||||
* | | | bigdecimal should be typecast to a float on sqlite3. fixes #2162 | Aaron Patterson | 2011-07-20 | 1 | -0/+5 | |
|/ / | ||||||
* | | Refactor PostgreSQLAdapter a bit | Daniel Schierbeck | 2011-07-08 | 1 | -16/+18 | |
| | | | | | | | | | | Move the private method #extract_schema_and_table into a separate Utils module so that it can be tested without resorting to #send. | |||||
* | | cache column defaults for AR object instantiation | Aaron Patterson | 2011-06-27 | 1 | -0/+9 | |
| | | ||||||
* | | Improve ordering of multiple columns on postgresql | Lucia Escanellas | 2011-06-24 | 1 | -1/+1 | |
| | | | | | | | | | | * Only on postgresql, order("first asc, second asc") was invalid * Closes #1720 | |||||
* | | Merge pull request #1632 from tardate/pg_schema_fu | Aaron Patterson | 2011-06-21 | 1 | -47/+72 | |
|\ \ | | | | | | | Improving PostgreSQL adapter schema-awareness | |||||
| * \ | Merge remote branch 'rails/master' into pg_schema_fu | Paul Gallagher | 2011-06-19 | 5 | -12/+13 | |
| |\ \ | ||||||
| * | | | Make PostgreSQL adapter view-compatible | Paul Gallagher | 2011-06-19 | 1 | -3/+5 | |
| | | | | | | | | | | | | * amongst other things, allows meta_search to run against view-backed models | |||||
| * | | | make extract_schema_and_table a private method | Paul Gallagher | 2011-06-11 | 1 | -20/+17 | |
| | | | | ||||||
| * | | | remove table quoting in primary_key method | Paul Gallagher | 2011-06-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | * add/cleanup tests | |||||
| * | | | apply private method indentation convention | Paul Gallagher | 2011-06-10 | 1 | -22/+22 | |
| | | | | | | | | | | | | * tidy test code and fix my typo | |||||
| * | | | Improve PostgreSQL adapter schema-awareness | Paul Gallagher | 2011-06-10 | 1 | -25/+51 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * table_exists? scoped by schema search path unless schema is explicitly named. Added tests and doc to clarify the behaviour * extract_schema_and_table tests and implementation extended to cover all cases * primary_key does not ignore schema information * add current_schema and schema_exists? methods * more robust table referencing in insert_sql and sql_for_insert methods | |||||
* | | | | Add missing require 'set' | Daniel Azuma | 2011-06-20 | 1 | -0/+2 | |
| | | | | ||||||
* | | | | Merge pull request #1763 from grantneufeld/schema_column_exists_options_hash | José Valim | 2011-06-18 | 1 | -1/+1 | |
|\ \ \ \ | | | | | | | | | | | Fix default options argument on ActiveRecord::ConnectionAdaptors::Table#column_exists? | |||||
| * | | | | Changed the default value for the options argument on ↵ | Grant Neufeld | 2011-06-18 | 1 | -1/+1 | |
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | ActiveRecord::ConnectionAdapters::Table#column_exists? from nil to an empty Hash {}. That method calls through to ActiveRecord::ConnectionAdapters::SchemaStatements##column_exists? expects options to be a Hash. When options was nil, an error would occur in cases where the column did exist because the called method attempted to perform a key lookup on options. | |||||
* / | | | Fix inconsistencies by being polite to the wrapped body. Needed for ↵ | Steve Hodgkiss | 2011-06-18 | 1 | -0/+8 | |
|/ / / | | | | | | | | | | Rack::Sendfile to function properly. See issue #1761. | |||||
* | | | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-06-18 | 3 | -11/+11 | |
|\ \ \ | ||||||
| * | | | Update remove_index documentation | Lucia Escanellas | 2011-06-17 | 2 | -9/+9 | |
| | | | | | | | | | | | | | | | | | | | | * Changes should better reflect present code behavior * Related to issue: https://github.com/rails/rails/issues/1624 | |||||
| * | | | Remove trailing whitespaces | Guillermo Iguaran | 2011-06-12 | 1 | -2/+2 | |
| |/ / | ||||||
* | | | Bump to mysql2 0.3.6 | Guillermo Iguaran | 2011-06-17 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #1636 from metaskills/upstream/3-1-stable | Aaron Patterson | 2011-06-17 | 1 | -0/+1 | |
|\ \ \ | | | | | | | | | Allow the connection pool's #table_exists? method to give the connections | |||||
| * | | | Allow the connection pool's #table_exists? method to give the connections ↵ | Ken Collins | 2011-06-10 | 1 | -0/+1 | |
| |/ / | | | | | | | | | | #table_exists? method a chance. | |||||
* | | | Bump mysql2 to 0.3.5 | Arun Agrawal | 2011-06-16 | 1 | -1/+1 | |
| | | | ||||||
* | | | Bump mysql2 up | Santiago Pastorino and José Ignacio Costa | 2011-06-16 | 1 | -1/+1 | |
|/ / | ||||||
* | | Remove unused 'quoted_column_names' variable. | Sebastian Martinez | 2011-06-08 | 1 | -1/+1 | |
| | | ||||||
* | | Revert "[activerecord][postgresql] verify if table has a schema(not ↵ | Jon Leighton | 2011-05-31 | 1 | -5/+6 | |
| | | | | | | | | | | | | public)". This caused a test breakage. See #1410 for details. This reverts commit c44418ea4e09cc81da47edbc9ac5f31c7e32c1b4. | |||||
* | | Merge pull request #1410 from lucasts/pg_schema | Aaron Patterson | 2011-05-30 | 1 | -5/+11 | |
|\ \ | | | | | | | a little step to better postgresql schema support in rails | |||||
| * | | [activerecord][postgresql] verify if table has a schema(not public) | Lucas Stephanou | 2011-05-27 | 1 | -6/+5 | |
| | | | ||||||
| * | | find sequences with pg schemas properly | Lucas Stephanou | 2011-05-27 | 1 | -4/+11 | |
| | | | ||||||
* | | | No need to pass options which is never used | Akira Matsuda | 2011-05-29 | 1 | -2/+2 | |
| | | | ||||||
* | | | No need to override for just calling super | Akira Matsuda | 2011-05-29 | 2 | -8/+0 | |
| | | | ||||||
* | | | stop using boolean expressions because of the side effects | Aaron Patterson | 2011-05-27 | 1 | -1/+4 | |
| | | | ||||||
* | | | close statment only if its not closed | Hemant Kumar | 2011-05-28 | 1 | -1/+1 | |
| | | | ||||||
* | | | work around bug in the sqlite3 bindings. fixes #1289 | Aaron Patterson | 2011-05-27 | 1 | -0/+1 | |
|/ / | ||||||
* | | Merge branch 'master' of github.com:rails/rails | Xavier Noria | 2011-05-25 | 3 | -65/+2 | |
|\ \ | ||||||
| * | | removed deprecated methods, and related tests, from ActiveRecord | Josh Kalderimis | 2011-05-25 | 3 | -65/+2 | |
| | | |