| Commit message (Expand) | Author | Age | Files | Lines |
* | Also deduplicate schema cache structure when they are read from the database | Jean Boussier | 2019-07-01 | 1 | -5/+15 |
* | Add "SCHEMA" to the query in `configure_connection` like as other adapters | Ryuta Kamizono | 2019-06-28 | 1 | -1/+1 |
* | warning: instance variable @serial not initialized (#36556) | utilum | 2019-06-28 | 1 | -0/+10 |
* | Fix broken url configs | eileencodes | 2019-06-27 | 1 | -1/+1 |
* | Load initial database.yml once, and warn if we can't create tasks | eileencodes | 2019-06-27 | 2 | -9/+20 |
* | Merge pull request #36210 from vishaltelangre/raise-record-invalid-when-assoc... | Rafael França | 2019-06-24 | 1 | -1/+1 |
|\ |
|
| * | Fix: ActiveRecord::RecordInvalid is not raised when an associated record fail... | Vishal Telangre | 2019-05-10 | 1 | -1/+1 |
* | | 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 |
* | | Revert schema dumper to use strings rather than integers | eileencodes | 2019-06-20 | 2 | -3/+3 |
* | | 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 | 2 | -0/+7 |
|/ / |
|
* | | Merge pull request #35891 from Shopify/schema-cache-deduplication | Kasper Timm Hansen | 2019-06-19 | 8 | -2/+105 |
|\ \ |
|
| * | | Deduplicate various Active Record schema cache structures | Jean Boussier | 2019-06-03 | 8 | -2/+105 |
* | | | 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 | 1 | -10/+15 |
* | | | Remove unused `Arel::Attributes.for` | Ryuta Kamizono | 2019-06-15 | 3 | -29/+1 |
* | | | No allocation `Arel::Visitors::ToSql#visit` | Ryuta Kamizono | 2019-06-15 | 4 | -33/+34 |
* | | | Move while_preventing_writes from conn to handler | eileencodes | 2019-06-14 | 3 | -17/+19 |
* | | | Merge pull request #36439 from eileencodes/move-schema-migration-to-migration... | Eileen M. Uchitelle | 2019-06-14 | 6 | -32/+52 |
|\ \ \ |
|
| * | | | Move SchemaMigration to migration_context | eileencodes | 2019-06-14 | 6 | -32/+52 |
* | | | | 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 |
* | | | | Allocation on demand in transactions | Ryuta Kamizono | 2019-06-14 | 1 | -20/+35 |
|/ / / |
|
* | | | Make ActiveRecord `ConnectionPool.connections` thread-safe. (#36473) | jeffdoering | 2019-06-13 | 1 | -1/+16 |
* | | | Merge pull request #36472 from kamipo/empty_line_only_before_access_modifier | Ryuta Kamizono | 2019-06-13 | 100 | -122/+0 |
|\ \ \ |
|
| * | | | 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 |
|/ / |
|