| Commit message (Expand) | Author | Age | Files | Lines |
* | Merge pull request #36560 from eileencodes/warn-if-database-yml-cant-be-read | Eileen M. Uchitelle | 2019-06-27 | 2 | -9/+20 |
|\ |
|
| * | Load initial database.yml once, and warn if we can't create tasks | eileencodes | 2019-06-27 | 2 | -9/+20 |
* | | `length(title)` is a safe SQL string since #36448 | Ryuta Kamizono | 2019-06-26 | 1 | -2/+2 |
|/ |
|
* | Merge pull request #36210 from vishaltelangre/raise-record-invalid-when-assoc... | Rafael França | 2019-06-24 | 4 | -1/+49 |
|\ |
|
| * | Fix: ActiveRecord::RecordInvalid is not raised when an associated record fail... | Vishal Telangre | 2019-05-10 | 4 | -1/+49 |
* | | Schema Cache: extract deduplication commonality | Kasper Timm Hansen | 2019-06-21 | 1 | -10/+15 |
* | | Also deduplicate schema cache data when using the init_with interface | Jean Boussier | 2019-06-21 | 1 | -6/+6 |
* | | Merge pull request #36526 from yahonda/test_statement_cache_with_in_clause_pg | Ryuta Kamizono | 2019-06-21 | 1 | -1/+1 |
|\ \ |
|
| * | | Address test_statement_cache_with_in_clause failure due to nondeterministic s... | Yasuo Honda | 2019-06-20 | 1 | -1/+1 |
* | | | Revert schema dumper to use strings rather than integers | eileencodes | 2019-06-20 | 3 | -3/+4 |
|/ / |
|
* | | Merge pull request #36520 from kamipo/test_case_for_deterministic_order | Ryuta Kamizono | 2019-06-20 | 1 | -0/+6 |
|\ \ |
|
| * | | Add test cases to ensure deterministic order for ordinal methods | Ryuta Kamizono | 2019-06-19 | 1 | -0/+6 |
* | | | Merge pull request #36518 from Shopify/drop-schema-cache-column-hash | Kasper Timm Hansen | 2019-06-19 | 1 | -8/+5 |
|\ \ \ |
|
| * | | | Stop serializing and parsing columns_hash in Active Record schema caches | Jean Boussier | 2019-06-19 | 1 | -8/+5 |
| |/ / |
|
* / / | Better error message for calling columns_hash | Guilherme Mansur | 2019-06-19 | 4 | -0/+19 |
|/ / |
|
* | | Merge pull request #35891 from Shopify/schema-cache-deduplication | Kasper Timm Hansen | 2019-06-19 | 12 | -16/+123 |
|\ \ |
|
| * | | Deduplicate various Active Record schema cache structures | Jean Boussier | 2019-06-03 | 12 | -16/+123 |
* | | | Avoid redundant `time.getutc` call if it is already utc time object | Ryuta Kamizono | 2019-06-18 | 1 | -5/+5 |
* | | | PostgreSQL: Fix GROUP BY with ORDER BY virtual count attribute | Ryuta Kamizono | 2019-06-17 | 5 | -12/+30 |
* | | | Remove unused `Arel::Attributes.for` | Ryuta Kamizono | 2019-06-15 | 4 | -70/+1 |
* | | | No allocation `Arel::Visitors::ToSql#visit` | Ryuta Kamizono | 2019-06-15 | 4 | -33/+34 |
* | | | Should find last created record | Ryuta Kamizono | 2019-06-15 | 1 | -3/+3 |
* | | | Ensure to reset actually used `@connection.schema_migration`'s table name | Ryuta Kamizono | 2019-06-15 | 1 | -4/+4 |
* | | | Fix `test_schema_names` to include "hint_plan" schema | Ryuta Kamizono | 2019-06-15 | 1 | -1/+5 |
* | | | Move while_preventing_writes from conn to handler | eileencodes | 2019-06-14 | 8 | -49/+111 |
* | | | Merge pull request #36439 from eileencodes/move-schema-migration-to-migration... | Eileen M. Uchitelle | 2019-06-14 | 15 | -146/+407 |
|\ \ \ |
|
| * | | | Move SchemaMigration to migration_context | eileencodes | 2019-06-14 | 15 | -146/+407 |
* | | | | Merge pull request #36484 from albertoalmagro/alberto/reverse-column-is-rever... | Ryuta Kamizono | 2019-06-14 | 1 | -3/+3 |
|\ \ \ \
| |/ / /
|/| | | |
|
| * | | | [ci skip] Update docs as `remove_column` can be reversed | Alberto Almagro | 2019-06-14 | 1 | -3/+3 |
* | | | | Fix rubocop violations | Ryuta Kamizono | 2019-06-14 | 1 | -2/+2 |
* | | | | Allocation on demand in transactions | Ryuta Kamizono | 2019-06-14 | 1 | -20/+35 |
|/ / / |
|
* | | | Make ActiveRecord `ConnectionPool.connections` thread-safe. (#36473) | jeffdoering | 2019-06-13 | 3 | -1/+44 |
* | | | Ensure to reset migration version after testing migration | Ryuta Kamizono | 2019-06-13 | 1 | -2/+2 |
* | | | Reset migration version before testing migration | Ryuta Kamizono | 2019-06-13 | 1 | -0/+2 |
* | | | Avoid implicit rollback when testing migration | Ryuta Kamizono | 2019-06-13 | 1 | -0/+2 |
* | | | Merge pull request #36472 from kamipo/empty_line_only_before_access_modifier | Ryuta Kamizono | 2019-06-13 | 151 | -178/+1 |
|\ \ \ |
|
| * | | | Enable `Layout/EmptyLinesAroundAccessModifier` cop | Ryuta Kamizono | 2019-06-13 | 151 | -178/+1 |
* | | | | 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 | 6 | -4/+18 |
|/ / / |
|
* | | | Merge pull request #36440 from malept/multi-db-abort_if_pending_migrations-task | Eileen M. Uchitelle | 2019-06-11 | 2 | -1/+29 |
|\ \ \ |
|
| * | | | Convert the db:abort_if_pending_migrations task to be multi-DB aware | Mark Lee | 2019-06-10 | 2 | -1/+29 |
* | | | | Merge pull request #36448 from kamipo/allow_column_name_with_simple_function_... | Ryuta Kamizono | 2019-06-11 | 7 | -42/+67 |
|\ \ \ \
| |/ / /
|/| | | |
|
| * | | | Allow column name with function (e.g. `length(title)`) as safe SQL string | Ryuta Kamizono | 2019-06-10 | 7 | -42/+67 |
* | | | | All modern adapters returns a numeric value as the result of numeric calculation | Ryuta Kamizono | 2019-06-11 | 2 | -10/+2 |
|/ / / |
|
* | | | Allow `column_name AS alias` as safe SQL string | Ryuta Kamizono | 2019-06-10 | 5 | -0/+14 |
* | | | 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 |
* | | | NULLS { FIRST | LAST } is safe SQL string since 6c82b6c99d86f37e61f935fb342cc... | Ryuta Kamizono | 2019-06-07 | 1 | -6/+6 |
* | | | Merge pull request #36429 from bogdan/fix-preloading-duplicate-records | Ryuta Kamizono | 2019-06-07 | 2 | -1/+8 |
|\ \ \ |
|
| * | | | Fix preloading on AR::Relation where records are duplicated by a join | Bogdan Gusiev | 2019-06-06 | 2 | -1/+8 |