Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-18 15:09:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-18 15:09:01 +0300
commit19d46f60a3699232458357111365e63a8c71f20d (patch)
treeaaa33bba4d167d4438b1e389be82d31fce9722ed /app/models
parent0da3ea537477cb1a39d3479d9debf67c29664fd3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models')
-rw-r--r--app/models/application_record.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/application_record.rb b/app/models/application_record.rb
index 44d1b6cf907..c9ae185583d 100644
--- a/app/models/application_record.rb
+++ b/app/models/application_record.rb
@@ -42,10 +42,6 @@ class ApplicationRecord < ActiveRecord::Base
false
end
- def self.at_most(count)
- limit(count)
- end
-
def self.safe_find_or_create_by!(*args, &block)
safe_find_or_create_by(*args, &block).tap do |record|
raise ActiveRecord::RecordNotFound unless record.present?