Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | create fewer objects, call fewer methods in extract_pg_identifier_from_name | Aaron Patterson | 2010-10-04 | 1 | -3/+3 | |
| | ||||||
* | * + flatten is not required in >= Ruby 1.8.7 | Aaron Patterson | 2010-10-04 | 1 | -1/+1 | |
| | ||||||
* | eliminating method_missing on TableDefinition | Aaron Patterson | 2010-09-29 | 1 | -14/+6 | |
| | ||||||
* | DRY up postgresql quote logic | Aaron Patterson | 2010-09-29 | 1 | -11/+14 | |
| | ||||||
* | fixing where clause indentation | Aaron Patterson | 2010-09-29 | 1 | -4/+4 | |
| | ||||||
* | use consistent method calls for column inspection | Aaron Patterson | 2010-09-29 | 1 | -1/+1 | |
| | ||||||
* | require pg when this adapter is loaded | Aaron Patterson | 2010-09-29 | 1 | -5/+4 | |
| | ||||||
* | only reopen ConnectionAdapters once | Aaron Patterson | 2010-09-29 | 1 | -2/+0 | |
| | ||||||
* | use inheritence to deal with custom methods | Aaron Patterson | 2010-09-29 | 2 | -10/+20 | |
| | ||||||
* | just use if rather than nil? | Aaron Patterson | 2010-09-29 | 1 | -1/+1 | |
| | ||||||
* | just require sqlite3 when the database adapter is required | Aaron Patterson | 2010-09-29 | 1 | -4/+1 | |
| | ||||||
* | each works well too | Aaron Patterson | 2010-09-28 | 1 | -1/+1 | |
| | ||||||
* | no need for splat and flatten | Aaron Patterson | 2010-09-28 | 1 | -1/+1 | |
| | ||||||
* | Test add_index and remove_index with a symbol name #4891 | Étienne Barrié | 2010-09-28 | 1 | -4/+3 | |
| | ||||||
* | third parameter is not used | Aaron Patterson | 2010-09-26 | 1 | -1/+1 | |
| | ||||||
* | Fix remove_index issue when provided :name is a symbol | Tim Connor | 2010-09-26 | 1 | -1/+1 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | No need to use inject here. | Emilio Tagua | 2010-09-22 | 1 | -5/+5 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Missing the mysql2 gem here | Santiago Pastorino | 2010-09-22 | 1 | -1/+1 | |
| | ||||||
* | Error message should advice to use 'mysql2' gem. | Neeraj Singh | 2010-09-22 | 1 | -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 readable | Thiago Pradi | 2010-09-19 | 1 | -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 Connor | 2010-09-18 | 1 | -2/+1 | |
| | ||||||
* | Raise errors when index creation fails | Tim Connor | 2010-09-18 | 1 | -4/+2 | |
| | ||||||
* | Revert "Setup explicit requires for files with exceptions. Removed them from ↵ | José Valim | 2010-09-02 | 1 | -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łkowski | 2010-09-02 | 1 | -0/+1 | |
| | | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | mysql2 adapter is being maintained in the mysql2 gem itself | Brian Lopez | 2010-08-23 | 1 | -644/+0 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | adding FOUND_ROWS to the connect flags for mysql2 | Aaron Patterson | 2010-08-20 | 1 | -0/+5 | |
| | ||||||
* | updates return number of rows matched rather than number of rows affected | Aaron Patterson | 2010-08-19 | 1 | -0/+1 | |
| | ||||||
* | removing useless ternary | Aaron Patterson | 2010-08-19 | 1 | -1/+1 | |
| | ||||||
* | refactor if / else to ||= | Aaron Patterson | 2010-08-18 | 1 | -5/+1 | |
| | ||||||
* | Bug Fix -- clean up connection after stored procedure [#3151 state:resolved] | Jeff Lawson | 2010-08-17 | 1 | -1/+1 | |
| | ||||||
* | Bug Fix -- clean up connection after stored procedure [#3151 state:resolved] | Jeff Lawson | 2010-08-17 | 1 | -0/+2 | |
| | ||||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 7 | -14/+14 | |
| | | | | 's/[ \t]*$//' -i {} \;) | |||||
* | This method is actually not used, it's implemented on the concrete adapters | Santiago Pastorino | 2010-08-13 | 1 | -8/+0 | |
| | | | | [#5331 state:committed] | |||||
* | Removing most of the symbol to proc usage in Active Record | Prem Sichanugrist | 2010-08-13 | 4 | -6/+6 | |
| | | | | This will hopefully make Active Record run a bit more faster. | |||||
* | move mysql2 adapter into core | Brian Lopez | 2010-08-09 | 1 | -0/+639 | |
| | ||||||
* | reduce the number of times current_connection_id is called in with_connection() | Aaron Patterson | 2010-08-06 | 1 | -4/+5 | |
| | ||||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-08-05 | 3 | -3/+3 | |
|\ | ||||||
| * | standarizes the use of the article "an" for "SQL" and "SQLite" | Xavier Noria | 2010-08-05 | 3 | -3/+3 | |
| | | ||||||
* | | query value is converted to_s instead of to_yaml | RainerBlessing | 2010-08-03 | 1 | -1/+1 | |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Allow :name to be a Symbol (was this removed by accident?) | wycats | 2010-08-03 | 1 | -0/+2 | |
|/ | ||||||
* | ensuring that description does not exceed 100 columns | Neeraj Singh | 2010-08-02 | 4 | -11/+18 | |
| | ||||||
* | 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] |