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 <[email protected]>wrote:

> On Wed, Sep 8, 2010 at 9:18 AM, rohit <[email protected]> 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:
>
> http://github.com/bigfix/machinist
>
> --
> You received this message because you are subscribed to the Google Groups
> "sequel-talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<sequel-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/sequel-talk?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-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/sequel-talk?hl=en.

Reply via email to