# Easy refactoring to foxy fixtures?

**URL:** <https://www.ruby-forum.com/t/easy-refactoring-to-foxy-fixtures/139419>\
**Category:** Rails\
**Created:** [June 3, 2008, 6:43pm UTC](https://www.ruby-forum.com/t/easy-refactoring-to-foxy-fixtures/139419 "2008-06-03T18:43:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/5f8ce5/32.png) [@bruz](https://www.ruby-forum.com/u/bruz)\
**Post date:** [June 3, 2008, 6:43pm UTC](https://www.ruby-forum.com/t/easy-refactoring-to-foxy-fixtures/139419/1 "2008-06-03T18:43:09Z")

</div>

Foxy fixtures ([http://ryandaigle.com/articles/2007/10/26/what-s-new-in-](http://ryandaigle.com/articles/2007/10/26/what-s-new-in-)  
edge-rails-fixtures-just-got-a-whole-lot-easier) are great for new  
projects, and I’d like to refactor fixtures in existing projects to  
make them foxy, but find it quite a chore. I’m considering a simple  
plugin to ease this task; has anyone already taken the effort to do  
something like this?

Thanks,  
Bruz

---

<div class="post-metadata">

**Author:** ![bruz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/5f8ce5/32.png) [@bruz](https://www.ruby-forum.com/u/bruz)\
**Post date:** [June 16, 2008, 4:57pm UTC](https://www.ruby-forum.com/t/easy-refactoring-to-foxy-fixtures/139419/2 "2008-06-16T16:57:09Z")

</div>

Just to follow up, I wasn’t able to find an existing plugin or code  
snippet to help refactor old fixtures to make them foxy, so I wrote  
plugin myself. Here’s a post describing it:  
[http://edgenic.com/2008/06/11/foxify-fixtures-plugin-refactor-those-old-fixtures-to-make-them-foxy](http://edgenic.com/2008/06/11/foxify-fixtures-plugin-refactor-those-old-fixtures-to-make-them-foxy).
