Using Rails 6 `insert_all` to import from CSV file into model which throws NoMethodError

后端 未结 0 2016
情歌与酒
情歌与酒 2020-12-21 00:12

Below is my solution trying to import data from CSV and I tried to optimise the code using insert_all but it is throwing NoMethodError

user model

相关标签:
回答
  • 消灭零回复
提交回复
热议问题