Fix `NameError: wrong constant name` on Ruby 1.9
Ruby 1.9's version of `Object.const_get` does not support namespaced constants, so this commit replaces it with `ActiveSupport`'s `#constantize` method. The tests were failing running JRuby on 1.9 mode. CRuby was not failing because it is not tested against 1.9.
Showing
Please
register
or
sign in
to comment