Commit 1a114cf25f7b29838efda3685e9da1f8d8bd3cf1
1 parent
53937f76
Exists in
master
and in
21 other branches
Added note to reindex
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
README.md
... | ... | @@ -138,11 +138,11 @@ class Product < ActiveRecord::Base |
138 | 138 | end |
139 | 139 | ``` |
140 | 140 | |
141 | -You must call `Product.reindex` after changing synonyms. | |
141 | +Call `Product.reindex` after changing synonyms. | |
142 | 142 | |
143 | 143 | ### Indexing |
144 | 144 | |
145 | -Control what data is indexed with the `search_data` method. | |
145 | +Control what data is indexed with the `search_data` method. Call `Product.reindex` after changing this method. | |
146 | 146 | |
147 | 147 | ```ruby |
148 | 148 | class Product < ActiveRecord::Base | ... | ... |