Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | removes usage of Object#in? from the code base (the method remains defined ↵ | Xavier Noria | 2012-08-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | by Active Support) Selecting which key extensions to include in active_support/rails made apparent the systematic usage of Object#in? in the code base. After some discussion in https://github.com/rails/rails/commit/5ea6b0df9a36d033f21b52049426257a4637028d we decided to remove it and use plain Ruby, which seems enough for this particular idiom. In this commit the refactor has been made case by case. Sometimes include? is the natural alternative, others a simple || is the way you actually spell the condition in your head, others a case statement seems more appropriate. I have chosen the one I liked the most in each case. | ||||
* | Merge pull request #6838 from kennyj/added_registration_task | Carlos Antonio da Silva | 2012-07-07 | 1 | -7/+11 |
|\ | | | | | Allow to register database tasks from different adapters | ||||
| * | Added a feature to add a database task. e.g. OracleDatabaseTasks | kennyj | 2012-06-24 | 1 | -7/+11 |
| | | |||||
* | | Unify the collation API for the database adpters | Rafael Mendonça França | 2012-07-01 | 1 | -1/+1 |
| | | |||||
* | | Extract collation tasks to database tasks. | kennyj | 2012-07-01 | 3 | -0/+17 |
|/ | |||||
* | Refactor db:structure:load task. | kennyj | 2012-06-21 | 4 | -0/+24 |
| | |||||
* | Refactor db:structure:dump task. | kennyj | 2012-06-20 | 4 | -0/+38 |
| | |||||
* | Refactor db:charset task | Simon Jefford | 2012-06-19 | 4 | -3/+24 |
| | | | | | In a similar vein to Pat's work on create, drop etc, the db:charset task is now a one liner in databases.rake | ||||
* | Make DatabaseTasks a module with real private methods | Carlos Antonio da Silva | 2012-06-18 | 1 | -13/+14 |
| | |||||
* | fix invalid syntax and sqlite rake failing tests | Francesco Rodriguez | 2012-06-18 | 1 | -2/+3 |
| | |||||
* | add :nodoc: to AR::Tasks and update to follow the coding conventions | Francesco Rodriguez | 2012-06-18 | 4 | -208/+226 |
| | |||||
* | check if sqlite3 file exists before remove | Francesco Rodriguez | 2012-06-18 | 1 | -3/+3 |
| | |||||
* | Rails is the default (but now override able) source for environment and path. | Pat Allan | 2012-06-17 | 2 | -15/+25 |
| | |||||
* | Cleaning up after some warnings, adding slightly higher-level tests. | Pat Allan | 2012-06-17 | 4 | -7/+13 |
| | |||||
* | One line db:create/db:drop tasks. | Pat Allan | 2012-06-17 | 1 | -0/+46 |
| | | | | | | Now isn't that better? And yes, I know that private has no impact on class methods - it's a visual distinction, not a technical one. | ||||
* | db:drop and some of db:test:purge. | Pat Allan | 2012-06-17 | 4 | -8/+55 |
| | |||||
* | db:create for PostgreSQL pulled out into a class. | Pat Allan | 2012-06-17 | 3 | -4/+33 |
| | |||||
* | db:create for MySQL now much cleaner. | Pat Allan | 2012-06-17 | 3 | -7/+107 |
| | |||||
* | A beginning of sorts. | Pat Allan | 2012-06-17 | 1 | -0/+14 |
Minimal implementation that supports db:create SQLite replacement |