diff --git a/docs/README.md b/docs/README.md index d8df6c9..61b354f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -14,8 +14,11 @@ gem "riverqueue-sequel" Initialize a client with: ```ruby +require "riverqueue" +require "riverqueue-activerecord" + DB = Sequel.connect("postgres://...") -client = River::Client.new(River::Driver::Sequel.new(DB)) +client = River::Client.new(River::Driver::ActiveRecord.new) ``` Define a job and insert it: