Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tanaka51 authored and charkost committed Sep 28, 2023
1 parent 7b98e40 commit 192e779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@ implementing auto detect for all controllers.
Add the following line into your `config/initializers/prosopite.rb` file.

```ruby
unless Rails.production?
unless Rails.env.production?
require 'prosopite/middleware/rack'
Rails.configuration.middleware.use(Prosopite::Middleware::Rack)
end

```

### Sidekiq
We also provide a middleware for sidekiq so that you can auto detect n+1 queries that may occur in a sidekiq job.
Expand Down

0 comments on commit 192e779

Please sign in to comment.