activerecord-import icon indicating copy to clipboard operation
activerecord-import copied to clipboard

A library for bulk insertion of data into your database using ActiveRecord.

Results 36 activerecord-import issues
Sort by recently updated
recently updated
newest added

Hello! First of all I'd like to thank the maintainers, as this gem has been very useful for me and my organisation. I have a question about the intended functionality...

Hey Zach, First of all - amazing job with this gem! Our database has much fever anxiety attacks thanks to your work! Secondly: When trying to perform a .import on...

feature-request

Hey guys, Great work on this gem! We've been using it for the past few years and recently upgraded to Rails 7. With Rails 7 comes quite a few [new...

Hello I'm having a problem with this: `track_validation_failures: true` when i import method take `an array of hashes`, the failed_instances will be `an array of arrays`, with each internal array...

In the docs under [options](https://github.com/zdennis/activerecord-import#options) section, it states for `:validate_uniqueness`: > Whether or not to run uniqueness validations, has potential pitfalls, use with caution (requires >= v0.27.0). I'm assuming it...

Hello. I wanted to take advantage of `RETURNING` to save a round-trip to the database for an area that is particularly costly. However activerecord-import which we're using (just bumped to...

Hai there, i have just started using activerecord-import i am following the way of creating a object and doing import and also setting `run_callbacks` along with `validate_uniqueness: true` when import...

I'm trying to create records from a csv file. Each row of the CSV file will be a new record. ```ruby def import ads = [] CSV.foreach(file.path, headers: true, encoding:...

Title says it all. I'd like to be able to synchronize data from the database (created_at, updated_at, autoinc id, etc), but still have `previous_changes` be correct. I'm trying to run...