Qual è il modo migliore per eseguire UserStats per ricalcolare il numero di post letti, come hai menzionato? Esiste un comando rake integrato per questo o c’è un altro metodo per chiamarlo?
A proposito, non sono sicuro che questo problema sia già stato risolto. Sto testando un’importazione e l’intero database ha solo pochi giorni. Eppure mi dice che ho letto 36.0k post. Va bene, ho controllato i post per errori, ma ti assicuro che non ho “letto” 36k post.
The import script is marking everything imported as read. If the source data has a way to indicate which posts you’ve read, then the import script could be improved.
I’m not sure that’s the case in this instance. This particular database has far more than 36k posts. I don’t think the import script is loading in any “read” stats actually. Other members show nothing, but my account has been browsing and should show some topics read.