# File lib/doorkeeper/orm/active_record/access_token.rb, line 13 def self.active_for(resource_owner) where(resource_owner_id: resource_owner.id, revoked_at: nil) end