Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
be16f54d
Commit
be16f54d
authored
Jun 13, 2018
by
Jasper Maes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rails5 fix expected `issuable.reload.updated_at` to have changed
parent
fba123a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
app/models/timelog.rb
app/models/timelog.rb
+5
-0
changelogs/unreleased/rails5-fix-47366.yml
changelogs/unreleased/rails5-fix-47366.yml
+5
-0
No files found.
app/models/timelog.rb
View file @
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
changelogs/unreleased/rails5-fix-47366.yml
0 → 100644
View file @
be16f54d
---
title
:
Rails5 fix expected `issuable.reload.updated_at` to have changed
merge_request
:
19733
author
:
Jasper Maes
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment