Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add some whitespace for readability. | Kasper Timm Hansen | 2019-03-06 | 1 | -0/+12 |
| | |||||
* | Fix test case name after file extraction | Kasper Timm Hansen | 2019-03-06 | 1 | -1/+1 |
| | | | | | Although the old name had a certain persistence, this ain't the kind of file we're in now. | ||||
* | Handle blank inserts like update_all; raise upfront. | Kasper Timm Hansen | 2019-03-06 | 1 | -1/+1 |
| | |||||
* | Add insert_all to ActiveRecord models (#35077) | Bob Lail | 2019-03-05 | 1 | -0/+127 |
Adds a method to ActiveRecord allowing records to be inserted in bulk without instantiating ActiveRecord models. This method supports options for handling uniqueness violations by skipping duplicate records or overwriting them in an UPSERT operation. ActiveRecord already supports bulk-update and bulk-destroy actions that execute SQL UPDATE and DELETE commands directly. It also supports bulk-read actions through `pluck`. It makes sense for it also to support bulk-creation. |