mysql- Mysql2::Error: Data too long for column 'description' at row 1
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I built a scraper and it doesn't seem to like my description length. I altered the column to varchar(500) but no dice. I think I need to convert to text, but I am not sure how to. Does that make sense in my case? Thanks! Error- Mysql2::Error: Data too long for column 'description' at row 1: INSERT INTO sammiches ( country , created_at , description , image , name , updated_at ) VALUES ('Italy', '2013-05-03 01:10:08', 'In Italy, panino is the word for a sandwich made from bread other than sliced bread, in which case Italians call it a