aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters
Commit message (Collapse)AuthorAgeFilesLines
* third parameter is not usedAaron Patterson2010-09-261-1/+1
|
* Fix remove_index issue when provided :name is a symbolTim Connor2010-09-261-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* No need to use inject here.Emilio Tagua2010-09-221-5/+5
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Missing the mysql2 gem hereSantiago Pastorino2010-09-221-1/+1
|
* Error message should advice to use 'mysql2' gem.Neeraj Singh2010-09-221-2/+2
| | | | | | | | | | | | | If I create a new app using command rails new demo -d mysql then Gemfile contains 'mysql2' gem by default. However if mysql gem is missing then error message says raise "!!! Missing the mysql gem. Add it to your Gemfile: gem 'mysql', '2.8.1'" [#5569 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Exception handling more readableThiago Pradi2010-09-191-2/+2
| | | | | | [#5601 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fix issue with remove_index and add unit test [#5645 state:resolved]Tim Connor2010-09-181-2/+1
|
* Raise errors when index creation failsTim Connor2010-09-181-4/+2
|
* Revert "Setup explicit requires for files with exceptions. Removed them from ↵José Valim2010-09-021-1/+0
| | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6.
* Setup explicit requires for files with exceptions. Removed them from ↵Łukasz Strzałkowski2010-09-021-0/+1
| | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com>
* mysql2 adapter is being maintained in the mysql2 gem itselfBrian Lopez2010-08-231-644/+0
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* adding FOUND_ROWS to the connect flags for mysql2Aaron Patterson2010-08-201-0/+5
|
* updates return number of rows matched rather than number of rows affectedAaron Patterson2010-08-191-0/+1
|
* removing useless ternaryAaron Patterson2010-08-191-1/+1
|
* refactor if / else to ||=Aaron Patterson2010-08-181-5/+1
|
* Bug Fix -- clean up connection after stored procedure [#3151 state:resolved]Jeff Lawson2010-08-171-1/+1
|
* Bug Fix -- clean up connection after stored procedure [#3151 state:resolved]Jeff Lawson2010-08-171-0/+2
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-147-14/+14
| | | | 's/[ \t]*$//' -i {} \;)
* This method is actually not used, it's implemented on the concrete adaptersSantiago Pastorino2010-08-131-8/+0
| | | | [#5331 state:committed]
* Removing most of the symbol to proc usage in Active RecordPrem Sichanugrist2010-08-134-6/+6
| | | | This will hopefully make Active Record run a bit more faster.
* move mysql2 adapter into coreBrian Lopez2010-08-091-0/+639
|
* reduce the number of times current_connection_id is called in with_connection()Aaron Patterson2010-08-061-4/+5
|
* Merge remote branch 'docrails/master'Xavier Noria2010-08-053-3/+3
|\
| * standarizes the use of the article "an" for "SQL" and "SQLite"Xavier Noria2010-08-053-3/+3
| |
* | query value is converted to_s instead of to_yamlRainerBlessing2010-08-031-1/+1
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | 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
| |