class Gecko::Record::AccountAdapter
Public Instance Methods
current()
click to toggle source
Return the account for the logged in user
@return [Gecko::Record::Account]
@api public
# File lib/gecko/record/account.rb, line 57 def current if has_record_for_id?(:current) record_for_id(:current) else @identity_map[:current] = find(:current) end end