From 818675a394aa37b237e37f63750518f96e445300 Mon Sep 17 00:00:00 2001 From: Ellis Berner Date: Mon, 11 Mar 2013 17:16:15 -0700 Subject: [PATCH] Rails 4 compatibility `attr_accessible` is extracted out of Rails into a gem. --- lib/unread/read_mark.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/unread/read_mark.rb b/lib/unread/read_mark.rb index 60fb582..241d7aa 100644 --- a/lib/unread/read_mark.rb +++ b/lib/unread/read_mark.rb @@ -1,6 +1,5 @@ class ReadMark < ActiveRecord::Base belongs_to :readable, :polymorphic => true - attr_accessible :readable_id, :user_id, :readable_type, :timestamp validates_presence_of :user_id, :readable_type