mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
591a0bb87f
Allow fixtures YAML files to set the model class in the file itself Conflicts: activerecord/CHANGELOG.md
9 lines
207 B
YAML
9 lines
207 B
YAML
# Please do not use this fixture without `set_fixture_class` as Post
|
|
|
|
_fixture:
|
|
model_class: BadPostModel
|
|
|
|
bad_welcome:
|
|
author_id: 1
|
|
title: Welcome to the another weblog
|
|
body: It's really nice today
|