rails/activerecord/test/fixtures/other_posts.yml
Yves Senn 591a0bb87f Merge pull request #20574 from repinel/fix-db-fixtures-load
Allow fixtures YAML files to set the model class in the file itself

Conflicts:
	activerecord/CHANGELOG.md
2015-09-30 11:06:41 +02:00

8 lines
132 B
YAML

_fixture:
model_class: Post
second_welcome:
author_id: 1
title: Welcome to the another weblog
body: It's really nice today