Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ruby-on-rails-3/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 3 如何使用巫术查找登录用户?_Ruby On Rails 3_Sorcery - Fatal编程技术网

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