rails/rails — pull request #8616 by senny (2012-12-26 14:19:03+00:00)
Title: quote column names in generated fixture files

When fixture files are generated the column names can cause conflicts with reserved YAML keywords such as "yes" and "no". This patch quotes all columns in generated fixture files.

I also rewrote the fixture tests to match against the parsed content. This makes them less brittle and verifies if they actually work.

This is a fix for #8612