From 013f7cd24c4359d5d704b719d85b6df7ca1fdd55 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Thu, 28 Mar 2019 13:17:42 +0000 Subject: Inherit from ApplicationRecord instead of ActiveRecord::Base --- app/models/email.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/email.rb') diff --git a/app/models/email.rb b/app/models/email.rb index 7c33c5c7e64..0ddaa049c3b 100644 --- a/app/models/email.rb +++ b/app/models/email.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class Email < ActiveRecord::Base +class Email < ApplicationRecord include Sortable include Gitlab::SQL::Pattern -- cgit v1.2.3