activerecord-import
https://github.com/zdennis/activerecord-import
Ruby
A library for bulk insertion of data into your database using ActiveRecord.
ActiveRecord::Import::PostgreSQLAdapter#supports_setting_primary_key_of_imported_objects?
No Docs, write some!
Edit
git clone [email protected]:zdennis/activerecord-import.git
cd activerecord-import
open lib/activerecord-import/adapters/postgresql_adapter.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ActiveRecord--Import--PostgreSQLAdapter-supports_setting_primary_key_of_imported_objects--for-pr
# Commit to gitgit add lib/activerecord-import/adapters/postgresql_adapter.rbgit commit -m "better docs for ActiveRecord::Import::PostgreSQLAdapter#supports_setting_primary_key_of_imported_objects?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ActiveRecord--Import--PostgreSQLAdapter-supports_setting_primary_key_of_imported_objects--for-pr
hub pull-request
# Celebrate!