+
In rails 5 or less we use https://github.com/zdennis/activerecord-import gem to create a bulk of data in the database. But no we can use Rails 6 for that!
insert_all
update_all
delete_all
More about it you can read here https://blog.bigbinary.com/2019/04/15/bulk-insert-support-in-rails-6.html
Comments
Post a Comment