Skip to content

Commit

Permalink
added attr_accessible to ReadMark
Browse files Browse the repository at this point in the history
  • Loading branch information
Doctor Ripples committed Apr 21, 2012
1 parent aeab767 commit 09db026
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/app/models/read_mark.rb
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 09db026

Please sign in to comment.