aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Move runtime to log subscriber.José Valim2010-07-251-7/+0
|
* Get rid of instrumenter.elapsed.José Valim2010-07-241-8/+2
|
* reusing the time instrumentation from the instrumenter rather than ↵Aaron Patterson2010-07-191-4/+7
| | | | Benchmark. [#5098 state:open]
* Remove block definition from method, is not needed since yield is used inside.Emilio Tagua2010-06-241-1/+1
|
* Fix connection reloading in development mode. [#4929 state:resolved]Edgars Beigarts2010-06-221-2/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* remove executable permission from files that don't need it. [#4802 ↵rohit2010-06-201-0/+0
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* edit pass: the names of Rails components have a space, ie, "Active Record", ↵Xavier Noria2010-06-141-2/+2
| | | | not "ActiveRecord"
* make add_index and remove_index more resilient; new rename_index method; ↵Étienne Barrié2010-05-181-0/+2
| | | | | | | | track database limits [#3452 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Change event namespace ordering to most-significant first [#4504 state:resolved]Justin George2010-05-021-1/+1
| | | | | | | | | More work still needs to be done on some of these names (render_template.action_view and render_template!.action_view particularly) but this allows (for example) /^sql/ to subscribe to all the various ORMs without further modification Signed-off-by: José Valim <jose.valim@gmail.com>
* clearing up many warnings, removing unnecessary regular expresion ↵Aaron Patterson2010-04-101-0/+1
| | | | | | comparisons [#4365 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* avoid active not initialized warningSantiago Pastorino2010-02-221-0/+1
|
* ActiveRecord should give the connection id as payload, and not the whole ↵José Valim2010-01-151-1/+1
| | | | connection.
* Create Rails::Subscriber::TestHelper and use it to make ActiveRecord ↵José Valim2010-01-131-0/+1
| | | | subscriber tests run in both sync and async scenarios.
* Move AR logging responsibilities to ActiveRecord::Railties::Subscriber.José Valim2010-01-131-25/+1
|
* Remove allow_concurrency and verification_timeout from ActiveRecord::Base ↵José Valim2010-01-131-5/+0
| | | | (deprecated since 2.2).
* Send the connection in AR notifications to avoid checking out new ↵José Valim2010-01-111-2/+4
| | | | connections in threads just for logging purposes.
* Use underscore in notification namespaces.José Valim2010-01-041-1/+1
|
* Use namespaces in notifications.José Valim2010-01-031-1/+1
|
* Kick AR logging back to life and move ControllerRuntime inside ↵José Valim2009-12-301-3/+7
| | | | ActiveRecord::Rails.
* Renamed Orchestra to Notifications once again [#3321 state:resolved]José Valim2009-10-151-1/+1
|
* Update Orchestra instrumentations and move part of logging to Orchestra.José Valim2009-10-151-10/+4
|
* Revert "Rename Orchestra to Notifications [#3321 state:resolved]"José Valim2009-10-151-1/+1
| | | | This reverts commit 8cbf825425dc8ad3770881ea4e100b9023c69ce2.
* Rename Orchestra to Notifications [#3321 state:resolved]Joshua Peek2009-10-141-1/+1
|
* Avoid warning spam by flipping to the new callbacks mechanism. These ↵Michael Koziarski2009-10-151-1/+1
| | | | callbacks are actually never called by rails itself, merely there for plugins
* Callbacks, DeprecatedCallbacks = NewCallbacks, CallbacksJoshua Peek2009-10-121-2/+2
|
* Instrument process_action, render and sql.José Valim2009-09-201-13/+9
|
* raises exception (ActiveRecord::ConfigurationError with message) on habtm ↵Jaime Bellmyer2009-08-091-0/+7
| | | | | | association creation if join table contains a primary key Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Translate adapter errors that indicate a violated uniqueness constraint to ↵Michael Schuerig2009-06-261-1/+6
| | | | | | ActiveRecord::RecordNotUnique exception derived from ActiveReecord::StatementInvalid. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Cherry-pick core extensionsJeremy Kemper2009-05-131-0/+2
|
* Introduce transaction_joinable flag to mark that the fixtures transaction ↵Jeremy Kemper2009-01-101-10/+9
| | | | | | 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]
* Merge branch 'master' into savepointsJeremy Kemper2009-01-101-5/+5
|\
| * Benchmark.msJeremy Kemper2008-12-091-5/+5
| |
* | Merge commit 'origin/master' into savepointsHongli Lai (Phusion)2008-12-031-3/+3
|\| | | | | | | | | | | Conflicts: activerecord/lib/active_record/fixtures.rb activerecord/test/cases/defaults_test.rb
| * Autoload ActiveRecord filesJoshua Peek2008-11-241-0/+1
| |
| * Remove reset! as a connection#checkout callbackPratik Naik2008-11-191-1/+1
| |
| * Don't leave open dangling connections in development mode. [#1335 ↵Pratik Naik2008-11-081-2/+1
| | | | | | | | state:resolved]
* | Make SQLite3 pass the unit tests for savepoints.Hongli Lai (Phusion)2008-11-031-0/+6
| |
* | Improve documentation for DatabaseStatements#transactions and ↵Hongli Lai (Phusion)2008-11-031-0/+3
| | | | | | | | AbstractAdapter#transactional_fixtures, especially with regard to support for nested transactions.
* | Implement savepoints.Jonathan Viney2008-11-031-0/+15
|/
* Merge docrailsPratik Naik2008-10-051-18/+31
|
* Use a more sensible resolution on the new millisecond benchmarksDavid Heinemeier Hansson2008-09-051-1/+1
|
* Changed all benchmarking reports to be in millisecondsDavid Heinemeier Hansson2008-09-051-3/+3
|
* Remove flawed execute("ROLLBACK") approach; #reset! defaults to nothingNick Sieger2008-09-041-3/+1
| | | | | | Will need community help to fill out what #reset! should do for each adapter Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Deprecate verification_timeout and verify before resetNick Sieger2008-09-041-8/+4
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Collapse connection pool class hierarchy; YAGNI.Nick Sieger2008-08-291-0/+3
| | | | | - Add connection checkin and checkout callbacks to adapter to allow adapter-specific customization of behavior (e.g., JRuby w/ JNDI)
* Deprecate allow_concurrency and make it have no effectNick Sieger2008-08-291-1/+3
|
* Add connection reset and verification upon each connection checkoutNick Sieger2008-08-291-2/+11
|
* Connection handling methods extracted out into separate ConnectionHandler classNick Sieger2008-08-291-1/+1
| | | | - delegating methods left behind
* Initial conversion to connection poolNick2008-08-291-0/+1
| | | | | | So far so good, tests still run clean. Next steps: synchronize connection pool access and modification, and change allow_concurrency to simply switch a real lock for a null lock.
* Made migrations transactional for PostgreSQL [#834 state:resolved]Tarmo Tänav2008-08-221-0/+7
| | | | Patch originally from http://dev.rubyonrails.org/ticket/5470