aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
Commit message (Collapse)AuthorAgeFilesLines
...
* | Allow :name to be a Symbol (was this removed by accident?)wycats2010-08-031-0/+2
|/
* ensuring that description does not exceed 100 columnsNeeraj Singh2010-08-024-11/+18
|
* Move runtime back to the Thread.currentJosé Valim2010-07-261-7/+0
|
* Cache instrumenter again as per Aaron's patch.José Valim2010-07-251-1/+2
|
* Move runtime back to connection.José Valim2010-07-251-0/+7
|
* Revert the previous three commits.José Valim2010-07-251-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 gainAaron Patterson2010-07-251-2/+2
|
* use a hash to collect optional statistics about the instrumentationAaron Patterson2010-07-251-2/+16
|
* 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]
* unfactoring clear_stale_cached_connections!Aaron Patterson2010-07-161-16/+7
|
* only test for existence of +pool+ onceAaron Patterson2010-07-161-2/+4
|
* use an attr_reader for performanceAaron Patterson2010-07-161-4/+2
|
* remove useless ternary in PostgreSQL adapterAaron Patterson2010-07-141-1/+1
|
* PostgreSQLAdapter#query string interpolation calls to_s for usAaron Patterson2010-07-141-1/+1
|
* PostgreSQLAdapter#query bail early if there is no column and dry up our ↵Aaron Patterson2010-07-141-4/+6
| | | | conditionals
* Let's initialize instance variables in the postgres adapter.Aaron Patterson2010-07-141-0/+3
|
* reducing range comparisons when converting types to sqlAaron Patterson2010-07-131-3/+4
|
* only loop through all rows and columns once in the postgres adapterAaron Patterson2010-07-131-23/+23
|
* use constants instead of magic numbers. meowAaron Patterson2010-07-131-1/+3
|
* Merge remote branch 'docrails/master'Xavier Noria2010-07-131-1/+1
|\
| * Fixed many references to the old config/environment.rb and Rails::InitializerBenjamin Quorning2010-07-131-1/+1
| |
* | our method is modifying the original array, so refactor to use destructive ↵Aaron Patterson2010-07-121-5/+4
| | | | | | | | methods
* | PostgreSQLAdapter#select_raw removing dead codeAaron Patterson2010-07-121-3/+0
| |
* | PostgreSQLAdapter#select_raw use each_with_index to avoid multiple array lookupsAaron Patterson2010-07-121-5/+5
| |
* | PostgreSQLAdapter#select_raw fields and results are empty even if ntuples is 0Aaron Patterson2010-07-121-25/+21
| |
* | refactor PostgreSQLAdapter#result_as_array to create fewer Range objectsAaron Patterson2010-07-121-3/+3
| |
* | cleaning up PostgreSQLAdapter#selectAaron Patterson2010-07-121-8/+2
| |
* | these strings do not need to be frozenAaron Patterson2010-07-121-2/+2
| |
* | use Hash#each to avoid a second hash lookupAaron Patterson2010-07-121-4/+2
| |
* | Remove old rubygems require.José Valim2010-07-121-7/+1
| |
* | reducing funcalls, cleaning up primary key methods for sqlite adapterAaron Patterson2010-07-101-6/+11
|/
* Merge remote branch 'docrails/master'Xavier Noria2010-07-091-2/+7
|\
| * copy-edits some docsXavier Noria2010-07-081-6/+5
| |
| * clarifying how to create non standard primary keyNeeraj Singh2010-07-081-1/+7
| |
* | moving parse_sqlite_config to the sqlite3_connection method (where it ↵Aaron Patterson2010-07-082-20/+11
| | | | | | | | | | | | belongs) [#5071 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | removing useless code. [#5070 state:resolved]Aaron Patterson2010-07-081-2/+1
|/ | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fixed error when removing an index from a table name values, which is a ↵J. Pablo Fernández2010-06-291-1/+1
| | | | | | reserved word, with test. Signed-off-by: José Valim <jose.valim@gmail.com>
* removing useless code. [#4988 state:resolved]Aaron Patterson2010-06-261-15/+4
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Refactor of column_exists? method and this works with PostgreSQLSantiago Pastorino2010-06-261-12/+6
|
* adding adapter tests, avoiding private apis, fixing code in 1.9 [#4986 ↵Aaron Patterson2010-06-261-3/+7
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* refactoring the postgres adapter index method to avoid inject and use ↵Aaron Patterson2010-06-261-4/+4
| | | | | | values_at. [#4976 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge branch 'tago'José Valim2010-06-262-4/+63
|\
| * Add column and index query methods to ActiveRecord::SchemaAndrew White2010-06-262-4/+63
| | | | | | | | | | | | [#4219 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | index dump should not include full text indexes. Thanks Ken Mayer for the ↵Aaron Patterson2010-06-261-8/+3
|/ | | | | | original patch! [#4949 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'miloops/fixes'José Valim2010-06-243-3/+3
|\
| * Remove block definition from method, is not needed since yield is used inside.Emilio Tagua2010-06-243-3/+3
| |
* | Your original TIME ZONE value on PostgreSQL is correctly restored now, after ↵Santiago Pastorino2010-06-241-3/+5
|/ | | | | | | | going through options :utc and then going back to :local [#4950 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* remove_column should raise an ArgumentError when no columns are passed ↵Jeff Dean2010-06-232-0/+2
| | | | | | [#4803 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com>