Skip to content

Commit 136c719

Browse files
committed
Take out Rails details from the "why?" section
1 parent 87022be commit 136c719

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,10 @@ an Active Record transaction, that query won't actually be executed inside a
2727
database transaction. This is because transactions are tied to the database
2828
connection; if one connection opens a transaction, this doesn't affect queries
2929
executed 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

0 commit comments

Comments
 (0)