Ruby on rails 3 如何使用巫术查找登录用户?
有没有办法找到当前登录的用户并使用巫术删除特定用户的会话 提前感谢。来自:Ruby on rails 3 如何使用巫术查找登录用户?,ruby-on-rails-3,sorcery,Ruby On Rails 3,Sorcery,有没有办法找到当前登录的用户并使用巫术删除特定用户的会话 提前感谢。来自: 您可以使用当前_用户对所有用户进行迭代。要将其注销,请查看。您能再解释一下这些列的问题吗?我想它们应该被魔法自动填满 Below is a summary of the library methods. Most method names are self explaining and the rest are commented: # activity logging current_users
您可以使用当前_用户对所有用户进行迭代。要将其注销,请查看。您能再解释一下这些列的问题吗?我想它们应该被魔法自动填满
Below is a summary of the library methods. Most method names are self explaining and the rest are commented:
# activity logging
current_users