Permalink
Browse files

added attr_accessible to ReadMark

  • Loading branch information...
1 parent aeab767 commit 09db0266de5b806111aca726e75888f462f8b7e3 Doctor Ripples committed Apr 21, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/app/models/read_mark.rb
@@ -1,5 +1,6 @@
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

0 comments on commit 09db026

Please sign in to comment.