Commit graph

8 commits

Author SHA1 Message Date
GitLab Bot
87ef501eac Add latest changes from gitlab-org/gitlab@master 2020-03-03 09:07:54 +00:00
GitLab Bot
5e11c9b77c Add latest changes from gitlab-org/gitlab@master 2019-12-10 12:07:55 +00:00
Nick Thomas
013f7cd24c
Inherit from ApplicationRecord instead of ActiveRecord::Base 2019-03-28 16:18:23 +00:00
gfyoung
50abbd3e53 Enable frozen string in app/models/*.rb
Partially addresses #47424.
2018-07-26 16:55:41 -07:00
Jasper Maes
be16f54d9d Rails5 fix expected issuable.reload.updated_at to have changed 2018-06-13 07:52:35 +02:00
🙈 jacopo beschi 🙉
4c8783636c Resolve "Update updated_at on an issue/mr on every issue/mr changes" 2018-06-01 15:09:08 +00:00
Ruben Davila
bdc9322450 Use normal associations instead of polymorphic.
We can't properly use foreign keys on columns that are configured for
polymorphic associations which has disadvantages related to data
integrity and storage. Given we only use time tracking for Issues and
Merge Requests we're moving to the usage of regular associations.
2017-02-07 10:41:44 -05:00
Ruben Davila
17196a2ff3 Backport backend work for time tracking. 2017-01-15 11:10:04 -05:00