Re: factory_girl / machinist

2010-09-08 Thread John Firebaugh
On Wed, Sep 8, 2010 at 9:18 AM, rohit rohit.namjo...@gmail.com wrote: Is it possible to use factory_girl or machinist with Sequel? If so, does anyone have an example they could point me to? I recommend machinist. It has built-in support for sequel, to which I've applied a few patches:

Re: factory_girl / machinist

2010-09-08 Thread Aman Gupta
I use factory_girl with Sequel and it works great. I just had to apply this simple monkey patch: class Sequel::Model def save! save(:validate=false) end end On Wed, Sep 8, 2010 at 10:59 AM, John Firebaugh john.fireba...@gmail.comwrote: On Wed, Sep 8, 2010 at 9:18 AM, rohit

Re: factory_girl / machinist

2010-09-08 Thread rohit
John Aman, Thanks! Based on our requirements, seems like machinist is a better fit, but I'll experiment with both of them. Aman, Really enjoyed your talk at LSRC 2010. -- You received this message because you are subscribed to the Google Groups sequel-talk group. To post to this group, send