aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb
Commit message (Collapse)AuthorAgeFilesLines
* Avoid unnecessary catching of Exception instead of StandardError.Dylan Smith2012-06-171-2/+2
|
* Work around undiagnosed bug that's draining a relation's bind_valuesJeremy Kemper2012-05-311-0/+1
|
* Merge pull request #5698 from dougcole/support_postgresql_partitioningAaron Patterson2012-04-271-2/+2
|\ | | | | Support postgresql partitioning by making INSERT RETURNING optional
| * add use_returning as a postgresql connection configDoug Cole2012-03-311-2/+2
| |
* | Fix delete_all when chained with joins.Rafael Mendonça França2012-04-101-3/+17
| | | | | | | | Closes #5202 and #919
* | Remove unnecessary articles.Waseem Ahmad2012-04-031-3/+3
|/
* use bind values for join columnsAaron Patterson2012-02-271-4/+4
|
* prepared statements can be disabledAaron Patterson2012-02-211-7/+9
|
* fix nodocsVijay Dev2011-12-091-3/+3
|
* 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-081-14/+23
| | | | 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.
* 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
| |
* | Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-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
* 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
|
* insert statements are prepared, but values are not escaped properlyAaron Patterson2011-04-141-2/+20
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-03-231-1/+0
|\
| * remove bank linePaco Guzman2011-03-181-1/+0
| |
* | pushing id insertion and prefetch primary keys down to Relation#insertAaron Patterson2011-03-221-0/+4
|/
* fixture should quack like a hashAaron Patterson2011-02-111-1/+9
|
* Allow limit values to accept an ARel SQL literal.Ken Collins2011-02-091-3/+7
|
* limit() should sanitize limit valuesAaron Patterson2011-02-081-15/+15
| | | | This fixes CVE-2011-0448
* require ActiveSupport deprecatation file before using deprecate method in ↵Raimonds Simanovskis2011-01-041-0/+2
| | | | | database_statements otherwise when using external ActiveRecord adapters (e.g. Oracle) database_statements might be loaded before active_support/core_ext/module/deprecation which results in NoMethodError (commit 60cf65def805995bcca184c40b44bb01d86a48aa added "deprecate" call to database_statements.rb)
* herp derpricating add_limit_offset!Aaron Patterson2011-01-031-0/+3
|
* converted exec to exec_query for sqliteAaron Patterson2010-11-051-1/+1
|
* renaming bind_values to binds where it makes senseAaron Patterson2010-10-261-6/+6
|
* adding backwards compatibility for non-prepare statement handling driversAaron Patterson2010-10-261-2/+16
|
* exec returns an AR::ResultAaron Patterson2010-10-261-3/+3
|
* adding the abstract methodAaron Patterson2010-10-261-0/+6
|
* third parameter is not usedAaron Patterson2010-09-261-1/+1
|
* Fix bug with rolling back frozen attributes.Brian Durand2010-06-181-2/+2
| | | | | | [#2991] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Revert "Temporarily revert "Update after_commit and after_rollback docs and ↵Jeremy Kemper2010-06-081-0/+56
| | | | | | | | tests to use new style API with an :on options instead of on_* suffix." and "Add after_commit and after_rollback callbacks to ActiveRecord that are called after transactions either commit or rollback on all records saved or destroyed in the transaction."" This reverts commit 1b2941cba1165b0721f57524645fe378bee2a950. [#2991]
* Temporarily revert "Update after_commit and after_rollback docs and tests to ↵Jeremy Kemper2010-06-081-56/+0
| | | | | | | | | | | | | | use new style API with an :on options instead of on_* suffix." and "Add after_commit and after_rollback callbacks to ActiveRecord that are called after transactions either commit or rollback on all records saved or destroyed in the transaction." This reverts commits d2a49e4b1f30c5997e169110eed94a55aee53f56 and da840d13da865331297d5287391231b1ed39721b. [#2991] Conflicts: activerecord/CHANGELOG activerecord/lib/active_record/transactions.rb activerecord/test/cases/transaction_callbacks_test.rb
* Add after_commit and after_rollback callbacks to ActiveRecord that are ↵Brian Durand2010-04-291-0/+56
| | | | | | | | called after transactions either commit or rollback on all records saved or destroyed in the transaction. [#2991 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add add_limit_offset! to adapters.Emilio Tagua2010-03-251-0/+23
|
* avoid @transaction_joinable not initialized warningSantiago Pastorino2010-02-221-1/+1
|
* Remove locking related unused codePratik Naik2009-12-281-12/+0
|
* Create is now powered by Arel. Removed methods that are no longer used.Emilio Tagua2009-07-011-2/+2
|
* Removed unused methods.Emilio Tagua2009-06-231-27/+0
|
* Refactors to work with latest Arel implementation.Emilio Tagua2009-06-021-2/+2
|
* Fix PostgreSQL unit test failures that only occur when using the old ↵Hongli Lai (Phusion)2009-01-131-4/+8
| | | | | | | | 'postgres' driver. [#1748 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Introduce transaction_joinable flag to mark that the fixtures transaction ↵Jeremy Kemper2009-01-101-15/+16
| | | | | | can't joined, a new savepoint is required even if :requires_new is not set. Use :requires_new option instead of :nest. Update changelog. [#383 state:committed]