File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,16 +27,10 @@ an Active Record transaction, that query won't actually be executed inside a
2727database transaction. This is because transactions are tied to the database
2828connection; if one connection opens a transaction, this doesn't affect queries
2929executed on a different connection, even if both connections are used in the
30- same ruby process. With this library, transactions and queries can be
31- seamlessly combined between Active Record and Sequel.
32-
33- In Rails context, there are additional considerations for a Sequel connection
34- to play nicely. Connecting and disconnecting would have to go in lockstep with
35- Active Record, to make commands such as ` rails db:create ` and ` rails db:drop `
36- work. You'd also need to find a way for system tests and the app running in the
37- background to share the same database connection, which is something Sequel
38- wasn't designed for. Reusing Active Record's connection means (dis)connecting
39- and sharing between threads is all handled automatically.
30+ same ruby process.
31+
32+ With this library, transactions and queries can be seamlessly combined between
33+ Active Record and Sequel.
4034
4135## Installation
4236
You can’t perform that action at this time.
0 commit comments