summaryrefslogtreecommitdiff
path: root/app/models/service.rb
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-03-28 13:17:42 +0000
committerNick Thomas <nick@gitlab.com>2019-03-28 16:18:23 +0000
commit013f7cd24c4359d5d704b719d85b6df7ca1fdd55 (patch)
tree4bd076e21ec1d094fd23a506fef80350f63fd9f1 /app/models/service.rb
parenta74c3e6c3b418ea585f02ba15af1c7292f895a1a (diff)
downloadgitlab-ce-013f7cd24c4359d5d704b719d85b6df7ca1fdd55.tar.gz
Inherit from ApplicationRecord instead of ActiveRecord::Base
Diffstat (limited to 'app/models/service.rb')
-rw-r--r--app/models/service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/service.rb b/app/models/service.rb
index da523bfa426..c6d5eb353dc 100644
--- a/app/models/service.rb
+++ b/app/models/service.rb
@@ -2,7 +2,7 @@
# To add new service you should build a class inherited from Service
# and implement a set of methods
-class Service < ActiveRecord::Base
+class Service < ApplicationRecord
include Sortable
include Importable
include ProjectServicesLoggable