Remove unused variable.

The unused variable `klass` causes a warning to be emitted while running the ActiveRecord test suite. This  patch removes the variable assignment.