Sha256: 81d6eaaf43ca88f6b1857ded4c2cb76ae2e06e38ec31901e7cefe1002177fa1c
Contents?: true
Size: 424 Bytes
Versions: 5
Compression:
Stored size: 424 Bytes
Contents
# == Schema Information # # Table name: tokens # # id :integer not null, primary key # value :string(255) # expires :datetime # created_at :datetime # updated_at :datetime # host_id :integer # class Token < ActiveRecord::Base attr_accessible :value, :expires belongs_to_host :foreign_key => :host_id validates_presence_of :value, :host_id, :expires def to_s value end end
Version data entries
5 entries across 5 versions & 1 rubygems