• Stan Hu's avatar
    Fix Event#reset_project_activity updates · 16626409
    Stan Hu authored
    !6678 removed the lease from Event#reset_project_activity, but it wasn't
    actually updating the project's last_activity_at timestamp properly.
    The WHERE clause would always return no matching projects. The spec
    passed occasionally because the created_at timestamp was automatically
    set to last_activity_at.
    16626409
event.rb 6.23 KB