ActiveSupport::Inflector.constantize("") bug fix