腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(8006)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
ActionController
::UnknownFormat (
ActionController
::UnknownFormat)
嗯,我正在尝试从数据库中更新一些寄存器,但它一直在引发unknownFormat错误,你们看到我错过了什么吗? 这是很基本的,但我觉得我遗漏了一些非常重要的东西 @contributor = Contributor.find(params[:format]) if @contributor.company.users.include?(current_user) && @contributor.company.contributors.find_by(user_id: current_user.id).ma
浏览 21
修改于2019-05-18
得票数 0
1
回答
ActionController
::InvalidAuthenticityToken (
ActionController
::InvalidAuthenticityToken):Rails 5
ActionController
::InvalidAuthenticityToken错误。这很奇怪,因为form在生产和开发环境中工作得很好。html", "action":"create", "error":"
ActionController
::InvalidAuthenticityT
浏览 0
修改于2018-05-23
得票数 1
1
回答
ActionController
混合
'minimal' 'application'} (我不能子类化ApplicationController,因为我使用的是绑定到
ActionController
的gem
浏览 1
修改于2011-12-19
得票数 1
回答已采纳
25
回答
ActionController
::InvalidAuthenticityToken
>"put", "authenticity_token"=>"ysiDvO5s7qhJQrnlSR2+f8jF1gxdB7T9I2ydxpRlSSk=", **more parameters**} 对于每个非get请求都会发生这种情况,如您所见,authenticity_token
浏览 1
修改于2015-11-17
得票数 174
回答已采纳
1
回答
NameError
ActionController
我收到以下代码中的错误消息: NameError in PurchasesController#create未初始化常量购买::PurchaseCodeIDclass PurchasesController < ApplicationController #if @memberTier = PurchaseCode.find_by(Code: 123456).Code then
浏览 0
修改于2015-05-14
得票数 0
回答已采纳
1
回答
(
ActionController
)并定义了?(
ActionController
::Base)
(
ActionController
) and defined?(
ActionController
::Base)
浏览 3
提问于2015-02-12
得票数 2
回答已采纳
1
回答
ActionController
::UnknownFormat错误
我想从控制器中的一个方法调用一个JavaScript函数,该函数写在一个文件中,方法名为create.js.erb,但是出现了错误
ActionController
::UnknownFormat。
浏览 2
提问于2014-11-11
得票数 0
1
回答
ActionController
::UnknownHttpMethod:连接
我有时会在我的日志文件originates from actionpack-x.y.z/action_controller/request.rb中收到上述错误消息。
浏览 0
修改于2011-12-29
得票数 1
回答已采纳
1
回答
Rails
ActionController
::UrlGenerationError
我对我的Client模型进行了基本的rspec测试。在我把它分配给current_user之后它就坏了。我找不出哪里出了问题。寻找一些帮助。require 'spec_helper' subject {page} let(:client) {user.clients.build(client_name: client_name, client_secondname: clie
浏览 0
提问于2015-04-01
得票数 0
1
回答
ActionController
已知格式
当我上传它时,我看到一个错误:
ActionController
::UnknownFormat at /users/1/audios/dfdfdsdsf ============================================================ >
ActionController
::UnknownFormat app/controllers/audios_controller.rb
浏览 1
提问于2016-02-01
得票数 0
回答已采纳
1
回答
解释
ActionController
#respond_to和
ActionController
::respond_to的区别
我读过这些文档,每次都让我感到困惑,仅仅是因为它没有回答一些基本的问题。我认识到类方法::respond_to (通常在控制器顶部使用)的主要目的是与respond_with一起使用。实例方法#respond_to (通常在每个操作的末尾)的目的是为不同格式提供不同的响应。类方法也具有相同的功能吗?例如,如果我有一个只响应html的控制器,
浏览 3
提问于2014-04-04
得票数 2
1
回答
Rails错误:
ActionController
::
我得到了这个错误:
ActionController
::InvalidAuthenticityToken在我的webapp上的每一个帖子请求上。
浏览 1
提问于2015-08-28
得票数 1
回答已采纳
1
回答
无法引用
ActionController
::参数
value)) end 当我在where中添加permit时,我开始在render(json: details)中得到错误can't quote
ActionController
浏览 0
修改于2017-11-02
得票数 1
2
回答
如何处理
ActionController
::API和
ActionController
::Base中的ActiveRecord::RecordNotFound
但是,由于以下原因,处理错误可能不是最好的方法: module Api mo
浏览 2
提问于2017-05-31
得票数 0
1
回答
设计错误-
ActionController
::InvalidAuthenticityToken
当我尝试以用户身份登录时,它已成功登录,并转到管理员登录页面并尝试登录,它显示-
ActionController
::InvalidAuthenticityToken
浏览 2
修改于2016-09-27
得票数 0
3
回答
Rails
ActionController
未知格式
我正在尝试呈现一个xlsx文件。但我一直在买406/UnknowFormat。我已经做了正确的设置,也许我遗漏了什么?gem 'axlsx'gem 'zip-zip'Mime::Type.register "application/xlsx", :xlsxrespond_to do |format| format.xlsx { render xlsx: "create", template:
浏览 1
提问于2015-10-29
得票数 8
回答已采纳
1
回答
ActionController
::InvalidAuthenticityToken突然出现
我有一个老项目在Rails 5,我必须添加Api,它工作得很好,3天前,但现在它突然开始给我
ActionController
::InvalidAuthenticityToken我没有做任何与网络相关的控制器的更改
浏览 8
提问于2021-03-24
得票数 0
2
回答
ActionController
::在提交时
我有一个程序,允许用户为某一事件输入他们的歌曲。您必须输入该事件的partycode才能提交。下面是它的截图: 当我提交它时,会出现以下错误: 下面是我的SongsController的样子: @song = Song.new current_event = Event.find(song_params[:event_id]) @song = current_eve
浏览 0
修改于2016-12-22
得票数 1
回答已采纳
1
回答
Rails
ActionController
::Parameters清理
{ |vv| forest_hash(vv) } end <
ActionController
::Parameters {"utf8"=>"✓", "authenticity_token"=>"XXXXXXX", "commit"=>"Save", "activism_tree"=><
ActionController
:
浏览 7
提问于2020-11-19
得票数 0
2
回答
Rails 4:
ActionController
::UrlGenerationError
但是,每当我尝试访问http://localhost:3000/users/1/calendars时,都会得到以下错误:
ActionController
::UrlGenerationError in
浏览 0
修改于2015-08-23
得票数 2
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券