Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | In 1efd88283ef68d912df215125951a87526768a51, ConnectionAdapters was put ↵ | Jon Leighton | 2011-08-16 | 1 | -12/+22 | |
| | | | | under eager_autoload. Due to the requires in that file, this caused ConnectionSpecification to be loaded, which references ActiveRecord::Base, which means the database connection is established. We do not want to connect to the database when Active Record is loaded, only when ActiveRecord::Base is first referenced by the user. | |||||
* | 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 | 1 | -0/+24 | |
| | | | | 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. | |||||
* | initializing @open_transactions in the initialize method | Aaron Patterson | 2011-08-03 | 1 | -4/+2 | |
| | ||||||
* | Remove extra whitespaces | Sebastian Martinez | 2011-05-03 | 1 | -9/+9 | |
| | ||||||
* | set the backtrace to prevent AR exceptions from lying to us | Aaron Patterson | 2011-04-22 | 1 | -1/+3 | |
| | ||||||
* | use index based substitution for bind parameters | Aaron Patterson | 2011-04-13 | 1 | -1/+1 | |
| | ||||||
* | adding a case_sensitive_modifier for forcing comparisons to be case sensitive | Aaron Patterson | 2011-04-11 | 1 | -0/+4 | |
| | ||||||
* | log method takes an option list of bind values | Aaron Patterson | 2011-02-09 | 1 | -5/+7 | |
| | ||||||
* | moving AR::ConnectionAdapters::Column to its own file | Aaron Patterson | 2011-02-01 | 1 | -0/+1 | |
| | ||||||
* | Add :bulk => true option to change_table | Pratik Naik | 2011-01-31 | 1 | -0/+4 | |
| | ||||||
* | SQLite3 has supported savepoints since version 3.6.8, we should use this! | Jon Leighton | 2011-01-11 | 1 | -2/+2 | |
| | ||||||
* | Use params default. | Emilio Tagua | 2010-11-24 | 1 | -2/+1 | |
| | ||||||
* | Removed ids_in_list_limit in favor of in_clause_length defined in ↵ | Alex Rothenberg | 2010-11-23 | 1 | -5/+0 | |
| | | | | database_limits.rb | |||||
* | Adapters can specify maximum number of ids they support in a list of expressions | Alex Rothenberg | 2010-11-18 | 1 | -0/+5 | |
| | | | | | (default is nil meaning unlimited but Oracle imposes a limit of 1000) Limit is used to make multiple queries when preloading associated has_many or habtm records | |||||
* | speeding up query cache | Aaron Patterson | 2010-10-27 | 1 | -1/+1 | |
| | ||||||
* | renaming bind_values to binds where it makes sense | Aaron Patterson | 2010-10-26 | 1 | -2/+2 | |
| | ||||||
* | one more mysql test left! | Aaron Patterson | 2010-10-26 | 1 | -0/+7 | |
| | ||||||
* | exec returns an AR::Result | Aaron Patterson | 2010-10-26 | 1 | -0/+1 | |
| | ||||||
* | adding bind value substitution | Aaron Patterson | 2010-10-26 | 1 | -0/+6 | |
| | ||||||
* | Move runtime back to the Thread.current | José Valim | 2010-07-26 | 1 | -7/+0 | |
| | ||||||
* | Cache instrumenter again as per Aaron's patch. | José Valim | 2010-07-25 | 1 | -1/+2 | |
| | ||||||
* | Move runtime back to connection. | José Valim | 2010-07-25 | 1 | -0/+7 | |
| | ||||||
* | Revert the previous three commits. | José Valim | 2010-07-25 | 1 | -16/+2 | |
| | | | | | | * AS::Notifications#instrument should not measure anything, it is not its responsibility; * Adding another argument to AS::Notifications#instrument API needs to be properly discussed; | |||||
* | cache the instrumentor for a speed gain | Aaron Patterson | 2010-07-25 | 1 | -2/+2 | |
| | ||||||
* | use a hash to collect optional statistics about the instrumentation | Aaron Patterson | 2010-07-25 | 1 | -2/+16 | |
| | ||||||
* | Move runtime to log subscriber. | José Valim | 2010-07-25 | 1 | -7/+0 | |
| | ||||||
* | Get rid of instrumenter.elapsed. | José Valim | 2010-07-24 | 1 | -8/+2 | |
| | ||||||
* | reusing the time instrumentation from the instrumenter rather than ↵ | Aaron Patterson | 2010-07-19 | 1 | -4/+7 | |
| | | | | Benchmark. [#5098 state:open] | |||||
* | Remove block definition from method, is not needed since yield is used inside. | Emilio Tagua | 2010-06-24 | 1 | -1/+1 | |
| | ||||||
* | Fix connection reloading in development mode. [#4929 state:resolved] | Edgars Beigarts | 2010-06-22 | 1 | -2/+3 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | remove executable permission from files that don't need it. [#4802 ↵ | rohit | 2010-06-20 | 1 | -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 Noria | 2010-06-14 | 1 | -2/+2 | |
| | | | | not "ActiveRecord" | |||||
* | make add_index and remove_index more resilient; new rename_index method; ↵ | Étienne Barrié | 2010-05-18 | 1 | -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 George | 2010-05-02 | 1 | -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 Patterson | 2010-04-10 | 1 | -0/+1 | |
| | | | | | | comparisons [#4365 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | avoid active not initialized warning | Santiago Pastorino | 2010-02-22 | 1 | -0/+1 | |
| | ||||||
* | ActiveRecord should give the connection id as payload, and not the whole ↵ | José Valim | 2010-01-15 | 1 | -1/+1 | |
| | | | | connection. | |||||
* | Create Rails::Subscriber::TestHelper and use it to make ActiveRecord ↵ | José Valim | 2010-01-13 | 1 | -0/+1 | |
| | | | | subscriber tests run in both sync and async scenarios. | |||||
* | Move AR logging responsibilities to ActiveRecord::Railties::Subscriber. | José Valim | 2010-01-13 | 1 | -25/+1 | |
| | ||||||
* | Remove allow_concurrency and verification_timeout from ActiveRecord::Base ↵ | José Valim | 2010-01-13 | 1 | -5/+0 | |
| | | | | (deprecated since 2.2). | |||||
* | Send the connection in AR notifications to avoid checking out new ↵ | José Valim | 2010-01-11 | 1 | -2/+4 | |
| | | | | connections in threads just for logging purposes. | |||||
* | Use underscore in notification namespaces. | José Valim | 2010-01-04 | 1 | -1/+1 | |
| | ||||||
* | Use namespaces in notifications. | José Valim | 2010-01-03 | 1 | -1/+1 | |
| | ||||||
* | Kick AR logging back to life and move ControllerRuntime inside ↵ | José Valim | 2009-12-30 | 1 | -3/+7 | |
| | | | | ActiveRecord::Rails. | |||||
* | Renamed Orchestra to Notifications once again [#3321 state:resolved] | José Valim | 2009-10-15 | 1 | -1/+1 | |
| | ||||||
* | Update Orchestra instrumentations and move part of logging to Orchestra. | José Valim | 2009-10-15 | 1 | -10/+4 | |
| | ||||||
* | Revert "Rename Orchestra to Notifications [#3321 state:resolved]" | José Valim | 2009-10-15 | 1 | -1/+1 | |
| | | | | This reverts commit 8cbf825425dc8ad3770881ea4e100b9023c69ce2. | |||||
* | Rename Orchestra to Notifications [#3321 state:resolved] | Joshua Peek | 2009-10-14 | 1 | -1/+1 | |
| | ||||||
* | Avoid warning spam by flipping to the new callbacks mechanism. These ↵ | Michael Koziarski | 2009-10-15 | 1 | -1/+1 | |
| | | | | callbacks are actually never called by rails itself, merely there for plugins |