Update activity.rb

Added index for {verb, id} lookup