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
- Supporting Bulk Import for Mysql along with Associations [New Idea]
- Quote PostgreSQL returning column names safely
- Quote generated PostgreSQL conflict targets
- Support string hash keys in association imports
- Use canonical polymorphic names in association imports
- Track the active validation callback class
- Reject import rows with missing values
- Normalize tracked validation failures before synchronizing imported models
- Preserve model state when all-or-none validation aborts an import
- Include association keys when importing models with explicit columns
- Docs
- ActiveRecord::Import::SQLite3Adapter#sql_for_on_duplicate_key_ignore
- ActiveRecord::Import::SQLite3Adapter#add_column_for_on_duplicate_key_update
- ActiveRecord::Import::SQLite3Adapter#next_value_for_sequence
- ActiveRecord::Import::SQLite3Adapter#post_sql_statements
- ActiveRecord::Import::SQLite3Adapter#pre_sql_statements
- ActiveRecord::Import::SQLite3Adapter#insert_many
- ActiveRecord::Import::SQLite3Adapter#supports_on_duplicate_key_update?
- ActiveRecord::Import::SQLite3Adapter#supports_import?
- ActiveRecord::Import.load_from_connection_pool
- ActiveRecord::Import.require_adapter