I export all my dev data into yaml files so that they can be version
controlled along with the migrations. On one of my tables I have a
MySQL varchar field called ‘name’. The yaml file for that table had
numerical values populating name. So when it gets imported back into
the DB with Fixtures.create_fixtures the data is getting munged. If
the name field contains only digits, then it is being converted to
hex. One name field Contained “0101” and it goes into the database as
65. If i modify the yaml file and stick a letter in front (so,
“a0101”) it goes up just fine.
I ran this from the console and the Fixture command is returning the
I would rather not change the field type, because there is a distinct
possibility it will contain non numerical data.
Has anyone run across this before?