| Commit message (Expand) | Author | Age | Files | Lines |
... | |
| * | | | | Enable `Layout/EmptyLinesAroundAccessModifier` cop | Ryuta Kamizono | 2019-06-13 | 100 | -122/+0 |
* | | | | | Remove duplicated `table_exists?` | Ryuta Kamizono | 2019-06-13 | 2 | -8/+0 |
* | | | | | Clear schema cache when a table is created/dropped/renamed | Ryuta Kamizono | 2019-06-13 | 4 | -0/+11 |
|/ / / / |
|
* | | | | Merge pull request #36440 from malept/multi-db-abort_if_pending_migrations-task | Eileen M. Uchitelle | 2019-06-11 | 1 | -1/+25 |
|\ \ \ \ |
|
| * | | | | Convert the db:abort_if_pending_migrations task to be multi-DB aware | Mark Lee | 2019-06-10 | 1 | -1/+25 |
* | | | | | Allow column name with function (e.g. `length(title)`) as safe SQL string | Ryuta Kamizono | 2019-06-10 | 4 | -8/+32 |
|/ / / / |
|
* | | | | Allow `column_name AS alias` as safe SQL string | Ryuta Kamizono | 2019-06-10 | 4 | -0/+4 |
* | | | | Refactor `disallow_raw_sql!` to avoid `split(/\s*,\s*/)` to order args | Ryuta Kamizono | 2019-06-09 | 6 | -21/+56 |
* | | | | Add forgotten nodoc to dump_schema method. | Wojciech Wnętrzak | 2019-06-07 | 1 | -1/+1 |
* | | | | Merge pull request #36429 from bogdan/fix-preloading-duplicate-records | Ryuta Kamizono | 2019-06-07 | 1 | -1/+3 |
|\ \ \ \ |
|
| * | | | | Fix preloading on AR::Relation where records are duplicated by a join | Bogdan Gusiev | 2019-06-06 | 1 | -1/+3 |
* | | | | | Merge pull request #36420 from kamipo/quoted_identifier_regex | Ryuta Kamizono | 2019-06-06 | 7 | -61/+137 |
|\ \ \ \ \ |
|
| * | | | | | Allow quoted identifier string as safe SQL string | Ryuta Kamizono | 2019-06-06 | 7 | -61/+137 |
* | | | | | | Move schema cache from connection to pool | eileencodes | 2019-06-05 | 5 | -6/+33 |
|/ / / / / |
|
* | | | | | Merge pull request #36416 from freeletics/fix-db-prepare | Eileen M. Uchitelle | 2019-06-05 | 2 | -19/+49 |
|\ \ \ \ \ |
|
| * | | | | | Fixed db:prepare task for multiple databases. | Wojciech Wnętrzak | 2019-06-05 | 2 | -19/+49 |
| | |_|_|/
| |/| | | |
|
* | | | | | Merge pull request #36394 from eileencodes/treat-application-record-as-primary | Eileen M. Uchitelle | 2019-06-05 | 1 | -2/+6 |
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| * | | | | Treat ActiveRecord::Base and ApplicationRecord as "primary" | eileencodes | 2019-06-05 | 1 | -2/+6 |
| |/ / / |
|
* / / / | Fix sqlite3 collation parsing when using decimal columns. | Martin Schuster | 2019-06-04 | 1 | -2/+2 |
|/ / / |
|
* | | | Merge pull request #36384 from guigs/fix-invalid-schema-when-pk-column-has-co... | Ryuta Kamizono | 2019-06-03 | 1 | -1/+1 |
|\ \ \
| |/ /
|/| | |
|
| * | | Fix invalid schema dump when primary key column has a comment | Guilherme Goettems Schneider | 2019-06-03 | 1 | -1/+1 |
* | | | Refactor `create_table`'s options separation | Ryuta Kamizono | 2019-06-03 | 2 | -12/+11 |
* | | | Avoid making extra 5 arrays in each `save` | Ryuta Kamizono | 2019-06-01 | 1 | -16/+26 |
|/ / |
|
* | | Fix table comment also being applied to the primary key column | Guilherme Goettems Schneider | 2019-05-31 | 1 | -1/+1 |
* | | Remove wrong default value for `cache_versioning` in documentation of `cache_... | Sebastian Röder | 2019-05-29 | 1 | -1/+1 |
* | | `:datetime` and `:time` columns allows `:precision` option [ci skip] | Ryuta Kamizono | 2019-05-28 | 1 | -2/+3 |
* | | Merge pull request #36350 from kamipo/fast_pluck | Ryuta Kamizono | 2019-05-28 | 1 | -3/+5 |
|\ \ |
|
| * | | Allow symbol (i.e. quoted identifier) as safe SQL string | Ryuta Kamizono | 2019-05-28 | 1 | -3/+5 |
* | | | Use WeakRef to avoid leaking connection pools | John Hawthorn | 2019-05-27 | 1 | -11/+21 |
|/ / |
|
* | | Extract `readonly_attribute?` | Ryuta Kamizono | 2019-05-27 | 3 | -6/+6 |
* | | Merge pull request #36320 from XrXr/no-doc-prepend | Rafael França | 2019-05-21 | 1 | -1/+1 |
|\ \ |
|
| * | | Put :nodoc: on method that raises NoMethodError | Alan Wu | 2019-05-21 | 1 | -1/+1 |
* | | | Put all `explain` methods into `DatabaseStatements` module | Ryuta Kamizono | 2019-05-22 | 4 | -18/+14 |
* | | | Fall back to type casting from the connection adapter | Ryuta Kamizono | 2019-05-21 | 2 | -20/+22 |
* | | | Implicit through table joins should be appeared before user supplied joins | Ryuta Kamizono | 2019-05-19 | 1 | -17/+11 |
* | | | Merge pull request #36296 from jhawthorn/dont_fear_the_reaper | Aaron Patterson | 2019-05-18 | 1 | -7/+25 |
|\ \ \ |
|
| * | | | Use a single thread for all ConnectionPool Reapers | John Hawthorn | 2019-05-17 | 1 | -7/+25 |
| | |/
| |/| |
|
* | | | Merge pull request #36284 from kamipo/fix_eager_loading_with_string_joins | Ryuta Kamizono | 2019-05-15 | 1 | -2/+11 |
|\ \ \ |
|
| * | | | Fix eager loading associations with string joins not to raise NoMethodError | Ryuta Kamizono | 2019-05-15 | 1 | -2/+11 |
* | | | | Don't track implicit `touch` mutation | Ryuta Kamizono | 2019-05-13 | 2 | -1/+7 |
* | | | | Merge pull request #36255 from eugeneius/sqlite_savepoint_support | Kasper Timm Hansen | 2019-05-12 | 4 | -7/+5 |
|\ \ \ \ |
|
| * | | | | Remove SQLite version support caveats [ci skip] | Eugene Kenny | 2019-05-12 | 4 | -7/+5 |
* | | | | | Merge pull request #36073 from itsWill/document_update_counters_on_relation | Ryuta Kamizono | 2019-05-12 | 1 | -1/+13 |
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| * | | | | document update_counters on relation [ci skip] | Guilherme Mansur | 2019-05-11 | 1 | -1/+13 |
* | | | | | Merge branch 'migration-timestamp-fix' | Gannon McGibbon | 2019-05-10 | 1 | -0/+1 |
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
|
| * | | | | Add class option timestamps to migration generator | Michael Duchemin | 2019-02-09 | 1 | -0/+1 |
* | | | | | Remove ignored_sql from SQLCounter by adding "TRANSACTION" to log name | Yasuo Honda | 2019-05-08 | 4 | -12/+12 |
| |_|/ /
|/| | | |
|
* | | | | Properly give defaults for DatabaseSelector options | Akira Matsuda | 2019-05-07 | 1 | -3/+3 |
* | | | | Should attempt `committed!`/`rolledback!` to all enrolled records in the tran... | Ryuta Kamizono | 2019-05-07 | 3 | -13/+20 |
* | | | | Namespace association extension modules under the owner model | Jean Boussier | 2019-05-02 | 1 | -2/+2 |