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
Help out
- Issues
- Remove legacy ActiveRecord version gemfiles (4.2, 5.0, 5.1)
- Also please contact the author of activerecord-import-1.8.1 to request adding ostruct into its gemspec.
- Fix #857: Activerecord-Import imports associations for invalid models
- Activerecord-Import imports associations for invalid models
- Is it possible to trigger callback for after_commit rather than after_create or after_save
- Rails 7.1 composite keys in partitioned tables & returning `:id`
- `recursive_on_duplicate_key_update` and unique validations
- Dropping support for Ruby 2.4 and 2.6
- Ignores no_returning
- Default values not set for non-primary-key uuid columns
- Docs
- ActiveRecord::Import::AbstractAdapter::InstanceMethods#next_value_for_sequence
- ActiveRecord::Import::SQLite3Adapter#database_version
- ActiveRecord::Import::SQLite3Adapter#duplicate_key_update_error?
- ActiveRecord::Import::SQLite3Adapter#sql_for_default_conflict_target
- ActiveRecord::Import::SQLite3Adapter#sql_for_conflict_target
- ActiveRecord::Import::SQLite3Adapter#sql_for_on_duplicate_key_update_as_hash
- ActiveRecord::Import::SQLite3Adapter#sql_for_on_duplicate_key_update_as_array
- ActiveRecord::Import::SQLite3Adapter#sql_for_on_duplicate_key_update
- ActiveRecord::Import::SQLite3Adapter#sql_for_on_duplicate_key_ignore
- ActiveRecord::Import::SQLite3Adapter#add_column_for_on_duplicate_key_update