Skip to content

Support activerecord-import gem #37

@teohm

Description

@teohm

Hi, any plan to support activerecord-import gem?

We use activerecord-import in production code, and use DatabaseRewinder.clean in our tests.

When we run tests on activerecord-import related codes to perform bulk inserts, DatabaseRewinder#record_inserted_table is not being called at all.

Do you think it's possible to track bulk INSERT SQL statement executed by activerecord-import gem? I'm happy to submit a PR but I need some guides to figure out which part needs to be changed 🙇

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions