Permalink
Browse files

Some security settings.

  • Loading branch information...
1 parent 0e237d6 commit c25ca596e89748166003c19bfed6ddcc17d96c77 @fnando committed Mar 11, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/tokens/token.rb
View
@@ -2,6 +2,9 @@ class Token < ActiveRecord::Base
belongs_to :tokenizable, :polymorphic => true
serialize :data
+ attr_accessible :name, :token, :data, :expires_at
+ attr_readonly :tokenizable_id, :tokenizable_type
+
def to_s
token
end

0 comments on commit c25ca59

Please sign in to comment.