Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Inherit from ApplicationRecord instead of ActiveRecord::Base | Nick Thomas | 2019-03-28 | 1 | -1/+1 |
| | |||||
* | Run rubocop -a | Nick Thomas | 2019-03-13 | 1 | -10/+8 |
| | |||||
* | Enable frozen string in app/models/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-models | gfyoung | 2018-07-26 | 1 | -0/+2 |
| | | | | Partially addresses #47424. | ||||
* | Shortcut and return on duplicate record error.43460-track-projects-a-user-contributed-to | Andreas Brandl | 2018-03-06 | 1 | -3/+3 |
| | |||||
* | Nested transaction for find_or_create_by! queries. | Andreas Brandl | 2018-03-06 | 1 | -5/+11 |
| | | | | | For background see https://apidock.com/rails/v4.2.7/ActiveRecord/Relation/find_or_create_by. | ||||
* | Remove unnecessary safe guard. | Andreas Brandl | 2018-03-06 | 1 | -6/+0 |
| | |||||
* | Operate on ids to avoid unnecessary loading. | Andreas Brandl | 2018-03-06 | 1 | -3/+3 |
| | |||||
* | Singularize model name. | Andreas Brandl | 2018-03-06 | 1 | -0/+59 |