Skip to content

Commit

Permalink
Add section about bulk_import
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonwelch committed Oct 18, 2018
1 parent 506f765 commit 5b6375f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ an 18 hour batch process to <2 hrs.
* [Callbacks](#callbacks)
* [Additional Adapters](#additional-adapters)
* [Load Path Setup](#load-path-setup)
* [Conflicts With Other Gems](#conflicts-with-other-gems)
* [More Information](#more-information)

### Callbacks
Expand Down Expand Up @@ -105,6 +106,11 @@ activerecord-import-fake_name/

When rubygems pushes the `lib` folder onto the load path a `require` will now find `activerecord-import/active_record/adapters/fake_name_adapter` as it runs through the lookup process for a ruby file under that path in `$LOAD_PATH`


### Conflicts With Other Gems

`activerecord-import` adds the `.import` method onto `ActiveRecord::Base`. There are other gems, such as `elasticsearch-rails`, that do the same thing. In conflicts such as this, there is an aliased method named `.bulk_import` that can be used interchangeably.

### More Information

For more information on activerecord-import please see its wiki: https://github.com/zdennis/activerecord-import/wiki
Expand Down

0 comments on commit 5b6375f

Please sign in to comment.