我正在遇到有关Rails中的Authenticity Token的一些问题,因为我现在已经多次了.
但我真的不想只是解决这个问题而继续下去.我真的很想了解真实性令牌.那么,我的问题是,您是否有关于此主题的完整信息来源,或者您是否会花时间在此详细解释?
我正在使用PaypalAdaptive.它正确发送ipn_notification.ipnNotification动作方法如下 -
def ipn_notification
    ipn = PaypalAdaptive::IpnNotification.new
    ipn.send_back(request.raw_post.to_json)
    print "=====================request.raw_post#{request.raw_post}=============="
    if ipn.verified?
        PaymentMailer.notify_unknown(request.raw_post).deliver
    else
        logger.info "IT DIDNT WORK"
    end
    render :nothing => true
end
但它返回错误
WARNING: Can't verify CSRF token authenticity rails
对此问题有任何帮助.