Skip to content

Commit

Permalink
Fix Readme lint warnings (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
bensheldon committed Aug 4, 2021
1 parent db950b1 commit 4152008
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ A workaround to this limitation is to make a direct database connection availabl
url: postgres://database_host/my_database
```

2. Create a new ActiveRecord base class that uses the direct database connection
1. Create a new ActiveRecord base class that uses the direct database connection

```ruby
# app/models/application_direct_record.rb
Expand All @@ -717,11 +717,11 @@ A workaround to this limitation is to make a direct database connection availabl
end
```

3. Configure GoodJob to use the newly created ActiveRecord base class:
1. Configure GoodJob to use the newly created ActiveRecord base class:

```ruby
# config/initializers/good_job.rb

GoodJob.active_record_parent_class = "ApplicationDirectRecord"
```

Expand Down

0 comments on commit 4152008

Please sign in to comment.