简体   繁体   English

ActiveRecord::StatementInvalid 在 Rails 4.2.7.1 中

[英]ActiveRecord::StatementInvalid in Rails 4.2.7.1

On my local system, I am facing an error of Statement Invalid.在我的本地系统上,我面临 Statement Invalid 错误。 Previously, I was not getting this, but I think when I reindexed my elastic search after adding the taxon_ids index, this error started to come.以前,我没有得到这个,但我想当我在添加 taxon_ids 索引后重新索引我的弹性搜索时,这个错误开始出现。 Please check the attached screenshot.请检查随附的屏幕截图。 error_img

And version details are -版本详细信息是 -

Mysql - 5.7.34-0ubuntu0.18.04.1
Rails - 4.2.7.1
Ruby  - 2.3.1

Please advise on how it can be resolved.请告知如何解决。

The Error says that your Database is missing some columns.错误表示您的数据库缺少某些列。 Can you run rake db:migrate你能运行rake db:migrate

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 客户中的Ruby on Rails ActiveRecord :: StatementInvalid#show - Ruby on Rails ActiveRecord::StatementInvalid in Customers#show rails / mysql - 如何使ActiveRecord :: StatementInvalid错误无声? - rails/mysql - how do i silence out ActiveRecord::StatementInvalid error? Rails3 Mysql2 ::错误:未知列 - ActiveRecord :: StatementInvalid - Rails3 Mysql2::Error: Unknown column - ActiveRecord::StatementInvalid ActiveRecord :: StatementInvalid:Mysql :: Error: - ActiveRecord::StatementInvalid: Mysql::Error: SiteController#create中的ActiveRecord :: StatementInvalid Rails为所有字段插入空值 - ActiveRecord::StatementInvalid in SiteController#create Rails inserting null values for all the fields ActiveRecord :: StatementInvalid:Mysql2 :: Error:无法删除或更新父行--Rails 4.2.6 - ActiveRecord::StatementInvalid: Mysql2::Error: Cannot delete or update a parent row - Rails 4.2.6 MySQL外键约束在我的Rails 3.1应用程序中抛出ActiveRecord :: StatementInvalid(锁定等待超时) - MySQL foreign key constraints throws ActiveRecord::StatementInvalid (Lock wait timeout) in my Rails 3.1 application ActiveRecord :: StatementInvalid异常不起作用 - Exception ActiveRecord::StatementInvalid doesn't works ActiveRecord :: StatementInvalid在Hr#internal_employee_page中 - ActiveRecord::StatementInvalid in Hr#internal_employee_page ActiveRecord,选择查询数组返回ImportsController#index中的ActiveRecord :: StatementInvalid - ActiveRecord, select query for an Array returns ActiveRecord::StatementInvalid in ImportsController#index
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM