Sha256: dde4c0232b3ae8fc79d27dcd03213b1ffea326d48e81253d14704468cd13c52b
Contents?: true
Size: 325 Bytes
Versions: 8
Compression:
Stored size: 325 Bytes
Contents
class CASino::User < ActiveRecord::Base attr_accessible :authenticator, :username, :extra_attributes serialize :extra_attributes, Hash has_many :ticket_granting_tickets has_many :two_factor_authenticators def active_two_factor_authenticator self.two_factor_authenticators.where(active: true).first end end
Version data entries
8 entries across 8 versions & 1 rubygems