Mmm.. lunch! They're not accepting new features into rails until after 1.2 is out, so I pluginized the awesome fixtures hack that lets you do

id: 1
  user: :joe
  name: stuff
in your fixtures. Give it a twirl and tell me if it works..! Remember you have to handle dependencies yourself, so fixtures :users, :products, :monkeys if they all rely on each other

script/plugin install svn://caboo.se/plugins/court3nay/awesome_fixtures
This is all viewable on the caboose svn repo ebola collaboa. If you're a facebook 'booser, login and it (should) give you ticketing access. It's a nasty hack that does the grunt work. Let me know if you have a plugin you want caboose svn hosted and I'll give you some authz.

2 Responses to “fixture hack gets pluginized, caboose plugin repository lunches!”

  1. topfunky Says:

    Power to the people!

    I’m installing this plugin right now and look forward to more sensible fixtures.

  2. Pedro Visintin Says:

    Hi,

    The behavior of this plugin will be transparent when I run rake tests, Its ok?

    If is that case, I cannot get this plugin to work, I had to patch fixtures.rb again and works.

    I extended the functionallity of this patch to allow models using joins with :class_name specified.

    thanks

Sorry, comments are closed for this article.