Commit c5a9e021cbb833326f49a488578a8b093e69f565

Authored by Andrew
1 parent cdc1bc58

Updated changelog [skip ci]

Showing 2 changed files with 7 additions and 3 deletions   Show diff stats
@@ -13,6 +13,10 @@ @@ -13,6 +13,10 @@
13 - Removed `async` option from `record.reindex` - use `mode: :async` instead 13 - Removed `async` option from `record.reindex` - use `mode: :async` instead
14 - Conversions are not stemmed by default - use `stem_conversion: true` to enable this 14 - Conversions are not stemmed by default - use `stem_conversion: true` to enable this
15 15
  16 +```ruby
  17 +Searchkick.model_options = {stem_conversions: true}
  18 +```
  19 +
16 ## 2.5.1 [unreleased] 20 ## 2.5.1 [unreleased]
17 21
18 - No longer require fields when `_all` field is missing 22 - No longer require fields when `_all` field is missing
@@ -1737,9 +1737,9 @@ RSpec.configure do |config| @@ -1737,9 +1737,9 @@ RSpec.configure do |config|
1737 end 1737 end
1738 1738
1739 config.around(:each, search: true) do |example| 1739 config.around(:each, search: true) do |example|
1740 - Searchkick.enable_callbacks  
1741 - example.run  
1742 - Searchkick.disable_callbacks 1740 + Searchkick.callbacks(true) do
  1741 + example.run
  1742 + end
1743 end 1743 end
1744 end 1744 end
1745 ``` 1745 ```