Remove "annoying Ruby 1.9 hack"

The hack was introduced in 56fee39c392 to hide warnings displayed by Ruby 1.9.
Since Rails now requires Ruby 2, the hack can be removed.