aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract
Commit message (Collapse)AuthorAgeFilesLines
* exec returns an AR::ResultAaron Patterson2010-10-261-3/+3
|
* adding the abstract methodAaron Patterson2010-10-261-0/+6
|
* replace if ! with unlessNeeraj Singh2010-10-171-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* dry up column type testingAaron Patterson2010-10-121-5/+5
|
* all columns respond to string_to_binary, so no need to check respond_to?Aaron Patterson2010-10-122-2/+11
|
* drying up true and false casesAaron Patterson2010-10-121-3/+7
|
* reducing comparisons in when statementsAaron Patterson2010-10-121-6/+6
|
* removing intermediate variablesAaron Patterson2010-10-121-2/+1
|
* reduce the number of times we test for the column variableAaron Patterson2010-10-121-2/+5
|
* refactoring date / time / datetime when statementAaron Patterson2010-10-121-11/+8
|
* fixing case / when indentationAaron Patterson2010-10-121-20/+20
|
* removing false commentAaron Patterson2010-10-071-2/+0
|
* fix ruby 1.9 deadlock problem, fixes #5736 add connection pool testsHemant Kumar2010-10-061-8/+6
|
* eliminating method_missing on TableDefinitionAaron Patterson2010-09-291-14/+6
|
* use inheritence to deal with custom methodsAaron Patterson2010-09-291-4/+9
|
* Test add_index and remove_index with a symbol name #4891Étienne Barrié2010-09-281-4/+3
|
* 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>
* 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>
* removing useless ternaryAaron Patterson2010-08-191-1/+1
|
* refactor if / else to ||=Aaron Patterson2010-08-181-5/+1
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-143-6/+6
| | | | '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-132-2/+2
| | | | This will hopefully make Active Record run a bit more faster.
* 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-052-2/+2
|\
| * standarizes the use of the article "an" for "SQL" and "SQLite"Xavier Noria2010-08-052-2/+2
| |
* | 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-021-4/+6
|
* 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 old rubygems require.José Valim2010-07-121-7/+1
|
* copy-edits some docsXavier Noria2010-07-081-6/+5
|
* clarifying how to create non standard primary keyNeeraj Singh2010-07-081-1/+7
|
* 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>
* Refactor of column_exists? method and this works with PostgreSQLSantiago Pastorino2010-06-261-12/+6
|
* 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>
* remove_column should raise an ArgumentError when no columns are passed ↵Jeff Dean2010-06-231-0/+1
| | | | | | [#4803 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix connection reloading in development mode. [#4929 state:resolved]Edgars Beigarts2010-06-221-1/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix bug with rolling back frozen attributes.Brian Durand2010-06-181-2/+2
| | | | | | [#2991] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* edit pass: the names of Rails components have a space, ie, "Active Record", ↵Xavier Noria2010-06-142-7/+7
| | | | not "ActiveRecord"
* 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
* Whoops. _run_*_callbacks is privatewycats2010-06-041-1/+1
|