A library for bulk insertion of data into your database using ActiveRecord.

08-Feb-2019 1898
activerecord-import is a library for bulk inserting data using ActiveRecord.One of its major features is following activerecord associations and generating the minimal number of SQL insert statements required, avoiding the N 1 insert problem. An example probably explains it best. Say you had a schema like this:Publishers have BooksBooks have Reviewsand you wanted to bulk insert 100 new publishers with 10K books and 3 reviews per book. This library will follow the associations down and generate only 3 SQL insert statements - one for the publishers, one for the books, and one for the reviews.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle