validate_block gem as mentioned at urug

The github link to the 'validate_block' gem I went over is at:

Go forth and laugh at the code.