aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract
Commit message (Collapse)AuthorAgeFilesLines
* Make the logic easier to readJon Leighton2011-09-061-4/+7
|
* Use new SelectManager#projections= methodJon Leighton2011-08-151-2/+2
|
* use update.key instead of update.ast.key. make better use of select manager.Jon Leighton2011-08-151-2/+2
|
* Refactor building the update managerJon Leighton2011-08-151-5/+3
|
* Support for multi-table updates with limits, offsets and ordersJon Leighton2011-08-151-0/+3
|
* Support updates with joins. Fixes #522.Jon Leighton2011-08-151-0/+9
|
* Make it the responsibility of the connection to hold onto an ARel visitor ↵Jon Leighton2011-08-083-20/+41
| | | | 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.
* Simplify the way default DATABASE_URL works.Glenn Gillen2011-07-251-1/+1
|
* Fixes typoVijay Dev2011-07-221-1/+1
|
* adding more tests around database uri parsingAaron Patterson2011-07-211-5/+3
|
* Add documentation for URL connection strings.Glenn Gillen2011-07-201-0/+6
|
* Added test for postgres connections as URL. Fixed query param parsing.Glenn Gillen2011-07-201-1/+1
|
* Provide database connection settings as a URL.Glenn Gillen2011-07-201-0/+22
|
* cache column defaults for AR object instantiationAaron Patterson2011-06-271-0/+9
|
* Merge pull request #1763 from grantneufeld/schema_column_exists_options_hashJosé Valim2011-06-181-1/+1
|\ | | | | Fix default options argument on ActiveRecord::ConnectionAdaptors::Table#column_exists?
| * Changed the default value for the options argument on ↵Grant Neufeld2011-06-181-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 Hodgkiss2011-06-181-0/+8
|/ | | | Rack::Sendfile to function properly. See issue #1761.
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-06-182-9/+9
|\
| * Update remove_index documentationLucia Escanellas2011-06-172-9/+9
| | | | | | | | | | * Changes should better reflect present code behavior * Related to issue: https://github.com/rails/rails/issues/1624
* | Allow the connection pool's #table_exists? method to give the connections ↵Ken Collins2011-06-101-0/+1
|/ | | | #table_exists? method a chance.
* No need to pass options which is never usedAkira Matsuda2011-05-291-2/+2
|
* Merge branch 'master' of github.com:rails/railsXavier Noria2011-05-251-29/+2
|\
| * removed deprecated methods, and related tests, from ActiveRecordJosh Kalderimis2011-05-251-29/+2
| |
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-253-6/+6
|\ \ | |/ |/| | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/core_ext/kernel/requires.rb
| * Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-233-6/+6
| |
* | Remove extra white-space on some exception messages.Sebastian Martinez2011-05-232-2/+2
|/
* use a null byte as a bind parameter substitute as it is not allowed in ↵Aaron Patterson2011-05-091-9/+1
| | | | normal SQL. fixes #411, #417
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-041-6/+6
|\
| * Fixes on schema_definitions docsSebastian Martinez2011-05-031-3/+3
| |
| * fixed-fonts on SchemaDefinitionsSebastian Martinez2011-05-021-3/+3
| |
* | introduce a body proxy to ensure that query cache is enabled during streamingAaron Patterson2011-05-021-0/+8
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-013-15/+20
|\ | | | | | | | | Conflicts: railties/guides/source/contributing_to_ruby_on_rails.textile
| * Merge branch 'master' of github.com:lifo/docrailsDan Pickett2011-04-293-15/+20
| |\
| | * Fixed punctuation errors.Sebastian Martinez2011-04-221-4/+4
| | |
| | * Better docs formattingSebastian Martinez2011-04-221-10/+11
| | |
| | * dot missing hereSebastian Martinez2011-04-221-1/+1
| | |
| | * Added doc for #table_exists?Sebastian Martinez2011-04-221-0/+4
| | |
* | | using bind parameters for updatesAaron Patterson2011-04-301-4/+11
|/ /
* | postgresql supports prepare statement deletesAaron Patterson2011-04-291-2/+9
| |
* | Use existing #empty_insert_statement_value for an insert with no columns.Ken Collins2011-04-241-4/+0
|/
* Move #exec_insert to abstract adapter's database statements.Ken Collins2011-04-221-0/+7
|
* inserting big decimals as strings works consistently among dbs, so use ↵Aaron Patterson2011-04-141-1/+1
| | | | string form
* insert statements are prepared, but values are not escaped properlyAaron Patterson2011-04-141-2/+20
|
* adding a type cast method for prepared statementsAaron Patterson2011-04-141-0/+36
|
* do not depend on to_yaml being called, but rather depend on YAML being dumpedAaron Patterson2011-04-131-1/+1
|
* make sure that active connections are not cleared during test when an ↵Aaron Patterson2011-03-291-2/+4
| | | | exception happens
* clearing active connections in the ConnectionManagement middleware if an ↵Aaron Patterson2011-03-291-0/+3
| | | | exception happens
* proxy body responses so we close database connections after body is flushedAaron Patterson2011-03-291-7/+24
|
* make sure we have an active database connection before running each ↵Aaron Patterson2011-03-281-1/+5
| | | | connection management test
* adding active_connections? to the connection pool for finding open connectionsAaron Patterson2011-03-281-0/+6
|