`commit_count` error traceback
All migrations are marked as
project_statistics exists and has the right schema... and yet, this keeps happening. Each and every project details page gives a
500 error. Accessing any other part of a project (issues, etc), works AOK though. It's literally just the details page.
Perhaps relevant issues:
projects = Project.all projects.map(&:repository).each(&:expire_all_method_caches) projects.each do |project| project.send(:update_project_statistics) end
Afterwards project detail pages work, but stats are zero. These get regenerated after every push though.