Skip to content

undefined method `sub' for Sequel adapter with sqlite memory #10

@zombor

Description

@zombor

I'm using a sqlite memory adapter in Sequel. When I try and run DB cleaner, it says:

gems/database_cleaner-0.8.0/lib/database_cleaner/sequel/truncation.rb:12:in `clean': undefined method `sub' for nil:NilClass (NoMethodError)

This is because there is no URI for the memory mode, I'd imagine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions