Project

General

Profile

Download (283 Bytes) Statistics
| Branch: | Tag: | Revision:
class Token < ActiveRecord::Base
attr_accessible :value, :expires
belongs_to_host :foreign_key => :host_id

validates :value, :host_id, :expires, :presence => true

class Jail < ::Safemode::Jail
allow :host, :value, :expires, :nil?
end

def to_s
value
end

end
(53-53/61)