Commit 9ae83f7bd305ef1497fdedd23bc9520da9b486c2

Authored by Andrew Kane
1 parent 9c8bf31e

Updated readme [skip ci]

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
README.md
... ... @@ -1624,7 +1624,7 @@ class Product < ApplicationRecord
1624 1624 end
1625 1625 ```
1626 1626  
1627   -Create a job to update the cache and reindex records with new conversions.
  1627 +Create a job to update the column and reindex records with new conversions.
1628 1628  
1629 1629 ```ruby
1630 1630 class ReindexConversionsJob < ApplicationJob
... ... @@ -1647,7 +1647,7 @@ class ReindexConversionsJob &lt; ApplicationJob
1647 1647 (conversions_by_record[id] ||= {})[query] = count
1648 1648 end
1649 1649  
1650   - # write to cache
  1650 + # update column
1651 1651 model = class_name.constantize
1652 1652 model.transaction do
1653 1653 conversions_by_record.each do |id, conversions|
... ...