2012-03-28 51 views

回答

0

在我的用戶模型類中,如在user.rb中,我添加了以下行:include DeviseInvitable :: Inviter,並在applicationcontroller中添加了以下方法:def authenticate_inviter! authenticate_user!(:force => true)結束。