README.md in junk_drawer-2.0.0 vs README.md in junk_drawer-2.1.0
- old
+ new
@@ -217,11 +217,12 @@
MyModel.bulk_update([my_model_1, my_model_2])
```
This will generate a single SQL query to update both of the records in the
-database.
+database. If `prepared_statements` is set to true, `BulkUpdatable` will generate
+queries that use bind parameters.
#### Caveats
- Right now this only supports PostgreSQL. PR's welcome!
- It also only supports basic data types (including `hstore` and `jsonb`) for
@@ -253,10 +254,10 @@
In order to run tests against different Rails versions, you can use
`BUNDLE_GEMFILE`:
```sh
-$ BUNDLE_GEMFILE=gemfiles/rails_5.0.gems rake spec
+$ BUNDLE_GEMFILE=gemfiles/rails_7.0.gems rake spec
```
## Contributing
Bug reports and pull requests are welcome on GitHub at