activerecord-import
https://github.com/zdennis/activerecord-import
Ruby
A library for bulk insertion of data into your database using ActiveRecord.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
4 Subscribers
Add a CodeTriage badge to activerecord-import![CodeTriage badge for zdennis/activerecord-import](/zdennis/activerecord-import/badges/users.svg?count=4)
Help out
- Issues
- Duplicate Check Error When Using `import!` Method on Rails 7.2.0.beta2
- Add changelog_uri to gemspec
- Dropping support for Ruby 2.4 and 2.6
- Ignores no_returning
- Default values not set for non-primary-key uuid columns
- Model#valid? Returning True For Invalid Records After Import
- Import breaks when two column backed attributes are aliased together
- alias_attribute causing "specified more than once" error upon import.
- NonNull Violation and calling nextval() on sequence_name when primary key is uuid
- insert with existing association does not seem to work
- Docs
- BenchmarkBase#initialize
- BenchmarkBase#delete_all
- BenchmarkBase#create_hash_for_cols_and_vals
- BenchmarkBase#build_array_of_cols_and_vals
- BenchmarkBase#bm_model
- BenchmarkBase#bm
- BenchmarkBase#benchmark
- BenchmarkBase#results
- ActiveRecord::Import::MysqlAdapter#increment_locking_column!
- ActiveRecord::Import::MysqlAdapter#duplicate_key_update_error?