I am getting this error occasionally and obviously I need to change the type from string to text, but the logs do not show which column is the culprit. Below is log from resque
This is years later and in Python/Django, but perhaps someone will find this useful:
I work almost exclusively with large numbers of text files. I set up a dict to mirror the database columns, ie: dict['good_column']. Then in my try/except, I added that to the end of my logger.warning("You screwed something up: ".format(dict['good_column']). That way, the log tells me exactly where to look for the problem. I assume Ruby has some equivalent constructs to do this with.
Hope that helps someone.