Commit ad841210c90838c4fddbd2286091761523b27f8b
1 parent
a423f8ff
Exists in
master
and in
19 other branches
Version bump to 2.4.0 [skip ci]
Showing
3 changed files
with
10 additions
and
2 deletions
Show diff stats
CHANGELOG.md
README.md
... | ... | @@ -971,6 +971,14 @@ class Dog < Animal |
971 | 971 | end |
972 | 972 | ``` |
973 | 973 | |
974 | +In your parent model, set: | |
975 | + | |
976 | +```ruby | |
977 | +class Animal < ApplicationRecord | |
978 | + searchkick inheritance: true | |
979 | +end | |
980 | +``` | |
981 | + | |
974 | 982 | The parent and child model can both reindex. |
975 | 983 | |
976 | 984 | ```ruby | ... | ... |
lib/searchkick/version.rb