Skip to content

Conversation

@byroot
Copy link
Member

@byroot byroot commented Sep 15, 2025

Fix: #252

Redis.new(url: "redis://localhost:6379/3", db: nil).db

Before: 0
After: 3

This is consistent with how other parameters work.

Fix: #252

```ruby
Redis.new(url: "redis://localhost:6379/3", db: nil).db
```

Before: `0`
After: `3`

This is consistent with how other parameters work.
@byroot byroot merged commit d5f7936 into master Sep 15, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using db: nil forces the db number to be zero

3 participants