views:

8

answers:

0

I'm using acts_as_versioned for versioning a model Post. The plugin basically allows versioning a model by using an additional table that stores the different versions of each post.

In my tests, I have defined some posts in posts.yml. However, the fixtures with the initial versions for this posts (in file posts_versions.yml) have to be manually defined. Is there a way to use the data from posts.yml to generate the first version of each post? I.e. how can I access data from other fixtures?