On Tue, Jun 30, 2009 at 7:11 PM, Max
Williams<[email protected]> wrote:
>
> Marnen Laibow-Koser wrote:
>
>>>> If you're just trying to cobble together some test data, consider using
>>>> factories, probably with Machinist.
>>> Yeah, i know, i have used those before, it just seems like overkill for
>>> this case.
>>
>> It's not overkill.  It's the exact situation for which factories are
>> the perfect solution.  If you've got your blueprints set up right, all
>> you need is one more .make call.
>
> Yeah...that was in a different project though :)  I know it's wrong, but
> i just ended up stubbing the methods called by the callbacks.
>
> cheers
> max
>

This plugin helps avoid call backs:
http://github.com/cjbottaro/without_callbacks/tree/master

Andrew Timberlake
http://ramblingsonrails.com

http://MyMvelope.com - The SIMPLE way to manage your savings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to