Skip to content

Commit

Permalink
Merge pull request #1 from spikeheap/patch-1
Browse files Browse the repository at this point in the history
Add require statement to usage
  • Loading branch information
ioquatix committed Mar 14, 2017
2 parents 36d2ab5 + 3bc101c commit 20339d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -23,6 +23,8 @@ gem 'activerecord-rack'
In your `config.ru`, before any middleware that would use the database, insert:

```ruby
require 'active_record/rack'

# Middleware below this point may require database access:
use ActiveRecord::Rack::ConnectionManagement
```
Expand Down

0 comments on commit 20339d5

Please sign in to comment.