Commit graph

12 commits

Author SHA1 Message Date
GitLab Bot
07268180a2 Add latest changes from gitlab-org/gitlab@master 2021-08-18 15:11:07 +00:00
GitLab Bot
507c0e71cd Add latest changes from gitlab-org/gitlab@master 2021-01-27 12:09:01 +00:00
GitLab Bot
20fda899a6 Add latest changes from gitlab-org/gitlab@master 2020-09-29 15:10:08 +00:00
GitLab Bot
86e1f47cd1 Add latest changes from gitlab-org/gitlab@master 2020-06-05 15:08:23 +00:00
Nick Thomas
013f7cd24c
Inherit from ApplicationRecord instead of ActiveRecord::Base 2019-03-28 16:18:23 +00:00
Nick Thomas
9f05e97aad
Run rubocop -a 2019-03-13 13:42:43 +00:00
gfyoung
50abbd3e53 Enable frozen string in app/models/*.rb
Partially addresses #47424.
2018-07-26 16:55:41 -07:00
Andreas Brandl
9f7767079e Shortcut and return on duplicate record error. 2018-03-06 12:53:15 +01:00
Andreas Brandl
d270b85734 Nested transaction for find_or_create_by! queries.
For background see
https://apidock.com/rails/v4.2.7/ActiveRecord/Relation/find_or_create_by.
2018-03-06 12:53:15 +01:00
Andreas Brandl
e83e85ce11 Remove unnecessary safe guard. 2018-03-06 12:53:15 +01:00
Andreas Brandl
9ebbcb8f8b Operate on ids to avoid unnecessary loading. 2018-03-06 12:53:15 +01:00
Andreas Brandl
11a559f7c9 Singularize model name. 2018-03-06 12:53:14 +01:00
Renamed from app/models/user_interacted_projects.rb (Browse further)