Fixtures go foxy
Published about 6 years ago
With Changeset 8036
# clients.yml monkeys: id: 1 name: 3 Monkeys Ltd. # employees.yml lifo: id: 1 name: Pratik client_id: 1
Now can be re-written as
# clients.yml monkeys: name: 3 Monkeys Ltd. # employees.yml lifo: name: Pratik client: monkeys
There are some more goodies there as well. Please check out documentation and code for more details.
P.S → Now there is a built-in performance and benchmarking support as well. Just do rake rails:update:scripts to get them in your app running bleeding edge.