In VIM, at the moment when I need to comment out a section of Ruby code:
I do almost the same thing as you.
commenting:
CTRL-V
I#
#
uncommenting:
X
Please note uppercase I and X.
I