Skip to content

Commit

Permalink
Remove rack usage from README
Browse files Browse the repository at this point in the history
Prosopite is heavily based on Rails features
  • Loading branch information
charkost committed Sep 26, 2023
1 parent 1dedef8 commit 589464f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,17 +218,7 @@ unless Rails.production?
require 'prosopite/middleware/rack'
Rails.configuration.middleware.use(Prosopite::Middleware::Rack)
end
```

Since this is a rack middleware it can also be used with any other rack application (including grape)

for example in `config.ru`
```ruby
require 'prosopite/middleware/rack'

use Prosopite::Middleware::Rack
run MyApp
```

### 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 589464f

Please sign in to comment.