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/chat_name.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/chat_name.rb') diff --git a/app/models/chat_name.rb b/app/models/chat_name.rb index 03b0af53046..0041595baba 100644 --- a/app/models/chat_name.rb +++ b/app/models/chat_name.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class ChatName < ActiveRecord::Base +class ChatName < ApplicationRecord LAST_USED_AT_INTERVAL = 1.hour belongs_to :service -- cgit v1.2.3