fix: fix assets manifest

This commit is contained in:
Neetpone 2024-04-02 18:28:40 -04:00
parent 0e59e80686
commit f38d25ab21
2 changed files with 1 additions and 2 deletions

View file

@ -1,6 +1,4 @@
//= link_tree ../images
//= link_directory ../stylesheets .css
//= link_tree ../../javascript .js
//= link_tree ../../../vendor/javascript .js
//= link application.js

View file

@ -3,6 +3,7 @@ class RecountWordsJob < ApplicationJob
Story.find_each do |story|
word_count = 0
story.chapters.each do |chapter|
next unless chapter.body
count = chapter.body.split(' ').size
chapter.update_columns(
num_words: count