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/fork_network_member.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/fork_network_member.rb') diff --git a/app/models/fork_network_member.rb b/app/models/fork_network_member.rb index 36c66f21b0b..f18c306cf91 100644 --- a/app/models/fork_network_member.rb +++ b/app/models/fork_network_member.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class ForkNetworkMember < ActiveRecord::Base +class ForkNetworkMember < ApplicationRecord belongs_to :fork_network belongs_to :project belongs_to :forked_from_project, class_name: 'Project' -- cgit v1.2.3