23 Лют. 2007 fixtures
Need fixtures to be used in tests? And it should be real data which will be used in you application in future?
1. Feed your database with data using scaffolding forms.
2. Extract them with rake task into your .yml file.
3. To make them convert correctly to UTF-8 use Ya2YAML instead to_yaml in above rake task.