mysql- Mysql2::Error: Data too long for column 'description' at row 1 -


i built scraper , doesn't seem description length. altered column varchar(500) no dice. think need convert text, not sure how to. make sense in case? thanks!

error-

mysql2::error: data long column 'description' @ row 1: insert sammiches (country, created_at, description, image, name, updated_at) values ('italy', '2013-05-03 01:10:08', 'in italy, panino word sandwich made bread other sliced bread, in case italians call tramezzino or porco. examples of bread types used ciabatta, rosetta , baguette. bread cut horizontally , filled deli ingredients such salami, ham, cheese, mortadella, or other food, , served warm after having been pressed warming grill. in united states, united kingdom , canada, term panini has been adopted refer pressed , toasted sandwich; there widespread availability , use of sandwich presses, known \"panini presses\" or \"toasted sandwich makers.\"', '/wiki/file:italian_sandwich.jpeg', 'panini', '2013-05-03 01:10:08') (activerecord::statementinvalid)

your length 650 characters now. try increase more.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -