diff --git a/CHANGELOG.md b/CHANGELOG.md index e45e8bf..3a600c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ ### Updates -- Update Rails to 2.6.5; +- Update Ruby to 2.6.5; - Update Activerecord to the last version; ## v0.8.0 diff --git a/README.md b/README.md index 40326b4..754aa28 100644 --- a/README.md +++ b/README.md @@ -345,7 +345,7 @@ If you need to warm up a record with scope, you need to setup the `scoping` rela ```ruby class Resource < ApplicationRecord - voting scoping: :categories + rating scoping: :categories end ``` diff --git a/spec/models/extension/unscoped_rating_spec.rb b/spec/models/extension/unscoped_rating_spec.rb index 4eceeb7..b46a517 100644 --- a/spec/models/extension/unscoped_rating_spec.rb +++ b/spec/models/extension/unscoped_rating_spec.rb @@ -85,7 +85,7 @@ RSpec.describe Rating::Extension, 'unscoped_rating' do end end - context 'when is true and have a non scopeable record first on dabase' do + context 'when is true and have a non scopeable record first on database' do let!(:resource) { create :global } before { ::Rating::Rating.create resource: resource, scopeable: scope }