Commit 4127b93d authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'rails5-fix-47366' into 'master'

Rails5 fix expected `issuable.reload.updated_at` to have changed

Closes #47366

See merge request gitlab-org/gitlab-ce!19733
parents 5d8c617e be16f54d
......@@ -19,4 +19,9 @@ class Timelog < ActiveRecord::Base
errors.add(:base, 'Issue or Merge Request ID is required')
end
end
# Rails5 defaults to :touch_later, overwrite for normal touch
def belongs_to_touch_method
:touch
end
end
---
title: Rails5 fix expected `issuable.reload.updated_at` to have changed
merge_request: 19733
author: Jasper Maes
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment