Generate rank dropdown in Ruby, add comments