Skip to content

Commit

Permalink
Clarify BatchLoader::Middleware instructions for Rails projects
Browse files Browse the repository at this point in the history
  • Loading branch information
joshling1919 committed Jul 3, 2020
1 parent 94ffd9d commit fe9b2a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ Usually, it's just enough to clear the cache between HTTP requests in the app. T

```ruby
use BatchLoader::Middleware

# For Rails projects, add the following line in config/application.rb
# config.middleware.use BatchLoader::Middleware
```

To drop the cache manually you can run:
Expand Down

0 comments on commit fe9b2a0

Please sign in to comment.