我的问题与此类似:question。 尽管我未能看到这一点。 我想能够找到本届会议的用户。 我的理解是,只有控制人员才能做到这一点,尽管我需要采用一种称为活动的模式。 记录
在我的控制人员中,我有:
@current_user = User.find(session[:user_id])
user_id = @current_user.id
Activity.log(user_id)
我希望我至少走在正确的轨道上,并且从我与我有联系的其他SO问题上,我已经认为,会议仍然是实现这一目标的最佳途径,尽管我愿意提出建议。 感谢!