zdennis/activerecord-import

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 52 minutes ago
Added to GitGenius on September 16th, 2026
Created on March 12th, 2010
Open Issues & Pull Requests: 54 (+0)
GitHub issues: Enabled
Number of forks: 620
Total Stargazers: 4,154 (+0)
Total Subscribers: 37 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 13.2 days
Mean response time: 155.1 days
90th percentile: 614.9 days
Tracked items: 11

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 14
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 611 days
Stale 30+ days: 13
Stale 90+ days: 13

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

activerecord-import is a library for bulk insertion of data into your database using ActiveRecord.

The library addresses the performance bottleneck of inserting large numbers of records one at a time through ActiveRecord's standard create methods. Instead of generating and executing individual INSERT statements for each record, activerecord-import batches multiple records into fewer, more efficient database operations. This approach dramatically reduces the overhead of repeated database round-trips and query parsing while still leveraging ActiveRecord's connection handling and database abstraction.

Developers working with Rails applications that need to import substantial datasets should consider this tool. It suits scenarios like data migrations, bulk uploads, ETL processes, and any workflow where you need to persist many records at once. The library maintains compatibility with ActiveRecord's conventions, so it integrates naturally into existing Rails codebases without requiring architectural changes. If your application regularly inserts hundreds or thousands of records in a single operation, the performance gains justify adoption.

The project maintains steady engagement with its codebase, addressing issues and accepting contributions that expand database support and fix edge cases. Development activity shows consistent responsiveness to user-reported problems and a willingness to evolve the library as ActiveRecord and database technologies change.