ruby-on-rails - devise_token_auth 和 rails 5.2.0 兼容性
问题描述
嗨,我正在将 devise_token_auth 与. 一起使用rails 5.1.6
。当我将rails
版本更新为5.2.1
可以使用acts_as_favoritor 2.1.0
时,我的elasticbeanstalk
环境日志中出现错误:
Column `tokens` of type ActiveRecord::Type::Json does not support `serialize` feature. Usually it means that you are trying to use `serialize`
我可以使用任何特定版本的 devise_token_authrails 5.2.1
吗?
解决方案
推荐阅读
- python - Google 上传某些文件失败
- elasticsearch - 在 Fluentd 中查找上次缓冲区刷新的时间戳
- java - 如何在freemarker中使用保留字符(#)作为插值
- django - Django ModelForm 不保存任何数据
- c++ - 将 std::string 转换为 char* 的问题
- docker - Kubernetes 服务不会在 Pod 之间分发请求
- amazon-web-services - Cloudwatch 访问超过 5 次的用户数
- java - 显示重复项目的回收站视图
- sql - 使用 PostgreSQL 从数组中获取标签
- r - 下采样 R 时训练/测试样本不是随机的