From 609969bf6fcd4b9e57e0f5183577ba10c6fbe54c Mon Sep 17 00:00:00 2001 From: James Kiesel Date: Fri, 8 Apr 2016 10:37:10 +1200 Subject: [PATCH] Remove `has_many :views` from User (#4150) --- app/models/user.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index d5c1985f3..f12643e06 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -29,7 +29,6 @@ class User < ActiveRecord::Base has_many :topic_allowed_users, dependent: :destroy has_many :topics_allowed, through: :topic_allowed_users, source: :topic has_many :email_tokens, dependent: :destroy - has_many :views has_many :user_visits, dependent: :destroy has_many :invites, dependent: :destroy has_many :topic_links, dependent: :destroy