- cache [:follows, @user] do
  - if @user.follows.present?
    h4 Recent PBs By People You Follow
    .row
      .col-md-6
        .list-group
          - Run.includes(:game, :category, :user).where( \
            user: current_user.follows \
          ).where.not( \
            games: {name: [nil, ""]} \
          ).order('runs.created_at DESC').limit(10).each do |run|
            a.list-group-item href=( \
              current_user.runs?(run.category) ? compare_path(current_user.pb_for(run.category), run) : run_path(run) \
            )
              .media style='margin: .5em 0;'
                .pull-left href=user_path(run.user)
                  img src=run.user.avatar height=64 width=64
                .media-body
                  .pull-right = pretty_timestamp(run.created_at)
                  div
                    = run.user
                    - if run.user.silver_patron?
                      .gold-split title='Patron'
                  div = "#{run.game} #{run.category}"
                  div
                    = pretty_duration(run.time)
                    - if current_user.runs?(run.category)
                      = " ("
                      = pretty_difference(current_user.pb_for(run.category).time, run.time)
                      = ")"

- cache [:follows, @user] do
  - if @user.follows.present?
    h4 Recent PBs By People You Follow
    .row
      .col-md-6
        .list-group
          - Run.includes(:game, :category, :user).where( \
            user: current_user.follows \
          ).where.not( \
            games: {name: [nil, ""]} \
          ).order('runs.created_at DESC').limit(10).each do |run|
            a.list-group-item href=( \
              current_user.runs?(run.category) ? compare_path(current_user.pb_for(run.category), run) : run_path(run) \
            )
              .media style='margin: .5em 0;'
                .pull-left href=user_path(run.user)
                  img src=run.user.avatar height=64 width=64
                .media-body
                  .pull-right = pretty_timestamp(run.created_at)
                  div
                    = run.user
                    - if run.user.silver_patron?
                      .gold-split title='Patron'
                  div = "#{run.game} #{run.category}"
                  div
                    = format_milliseconds(run.duration_ms(Run::REAL))
                    - if current_user.runs?(run.category)
                      = " ("
                      = pretty_difference(current_user.pb_for(run.category).duration_ms(Run::REAL), run.duration_ms(Run::REAL))
                      = ")"

Fix follows on frontpage showing 00:00
Fix follows on frontpage showing 00:00

glacials/splits-io,BatedUrGonnaDie/splits-io,BatedUrGonnaDie/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io,glacials/splits-io