我正试图让https为我的rails应用程序工作。当我试图在应用程序上做任何与帖子相关的活动时,我会得到以下错误。Exception `ActionController::InvalidAuthenticityToken' at /usr/local/rvm/gems/ruby-2.4.1/gems/actionpackException `ActionController
举个例子,如果我创建了一个普通的Rails3应用程序,并创建了一个单一的模型Task和单一字段Name。如果我在Rails 5应用程序中执行相同的用例,我会得到异常:
ActionController::InvalidAuthenticityToken in TasksController#createActionController::InvalidAuthenticityToken</e
在Rails 4.1.6中,当运行使用脚手架生成的测试时,我会得到InvalidAuthenticityToken错误。是否有任何方法禁用特定测试的真实性令牌检查?rails g scaffold user name:string email:string password_digest:string输出:UsersControllerTest#test_should_create_user:
ActionController</e