Ruby gem bulk updating phrases dating

Posted by / 14-Jul-2017 22:05

Have you ever been in a situation where your app needs to insert dozens or hundreds (or thousands! Maybe it’s an importer, which needs to suck down a CSV or two, or a log processor, or a dictionary.Regardless, if you’ve ever found yourself doing this: Sadly, no such feature exists for that in Active Record natively.

this is why we want to "speed up" the process as much as possible.

This last week I finally sat down and scratched an itch that has been bothering me for some time.

The result is called Bulk Insert, and lets you insert multiple rows at a time using Active Record.

The listing can be given as full file names, file names without the installed directory prefix or only the files that are requireable.

Show the dependencies of an installed gem The dependency commands lists which other gems a given gem depends on.

ruby gem bulk updating-2ruby gem bulk updating-14ruby gem bulk updating-57

I ran into this problem over a decade ago with the not yet 1.0 Ruby on Rails framework.