Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use table name qualified column name for update counters | Ryuta Kamizono | 2018-09-16 | 1 | -0/+8 |
| | | | | | | | | | MySQL supports JOINs to UPDATE, so if column name isn't qualified by table name, it would cause an ambiguous error: ``` Mysql2::Error: Column 'integer' in field list is ambiguous: UPDATE `pets` INNER JOIN `toys` ON `toys`.`pet_id` = `pets`.`pet_id` SET `integer` = COALESCE(`integer`, 0) + 1 WHERE `toys`.`name` = ? ``` | ||||
* | Extract `{update,delete}_all_test.rb` from `persistence_test.rb` and ↵ | Ryuta Kamizono | 2018-09-16 | 1 | -0/+231 |
`relations_test.rb` `persistence_test.rb` and `relations_test.rb` have too many lines, so I'd like to extract relation around tests to dedicated files before newly test added. |