Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enable the Style/TrailingCommaInArguments cop | Rémy Coutable | 2017-05-10 | 1 | -1/+1 |
| | | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Use Arel to avoid MySQL triple quotingfix-optimistic-locking-for-destroy | Lin Jen-Shin | 2016-12-01 | 1 | -2/+1 |
| | |||||
* | Make deleting with optimistic locking respect NULL | Lin Jen-Shin | 2016-12-01 | 1 | -0/+18 |
| | | | | | | | | | | | | | For now deleting with optimistic locking is broken when lock_version is still NULL, because Rails would try to delete with `lock_version = 0` while in the database the column is still `NULL`. The monkey patches would force Rails just pass whatever in the column, and stop Rails from casting `NULL` into `0` when the value is read from database. Closes #24766 | ||||
* | Revert the revert of Optimistic Lockingrevert_revert_issuable_lock | Valery Sizov | 2016-08-22 | 1 | -0/+57 |