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
- 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
- Model#valid? Returning True For Invalid Records After Import
- Import breaks when two column backed attributes are aliased together
- Docs
- ActiveRecord::Base.validations_array_for_column_names_and_attributes
- ActiveRecord::Base.add_special_rails_stamps
- ActiveRecord::Base.values_sql_for_columns_and_attributes
- ActiveRecord::Base.find_associated_objects_for_import
- ActiveRecord::Base.import_associations
- ActiveRecord::Base.load_association_ids
- ActiveRecord::Base.set_attributes_and_mark_clean
- ActiveRecord::Base.import_without_validations_or_callbacks
- ActiveRecord::Base.import_with_validations
- ActiveRecord::Base.import_helper