summaryrefslogtreecommitdiff
path: root/app/models/user_interacted_project.rb
Commit message (Collapse)AuthorAgeFilesLines
* Inherit from ApplicationRecord instead of ActiveRecord::BaseNick Thomas2019-03-281-1/+1
|
* Run rubocop -aNick Thomas2019-03-131-10/+8
|
* Enable frozen string in app/models/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-modelsgfyoung2018-07-261-0/+2
| | | | Partially addresses #47424.
* Shortcut and return on duplicate record error.43460-track-projects-a-user-contributed-toAndreas Brandl2018-03-061-3/+3
|
* Nested transaction for find_or_create_by! queries.Andreas Brandl2018-03-061-5/+11
| | | | | For background see https://apidock.com/rails/v4.2.7/ActiveRecord/Relation/find_or_create_by.
* Remove unnecessary safe guard.Andreas Brandl2018-03-061-6/+0
|
* Operate on ids to avoid unnecessary loading.Andreas Brandl2018-03-061-3/+3
|
* Singularize model name.Andreas Brandl2018-03-061-0/+59