def reload!(controller)
      return controller unless defined?(Rails) and !Rails.configuration.cache_classes
      # we don't reload our own controller as we assume it provide as 'library'
      unless controller.name == "WebsocketRails::InternalController"
        class_name = controller.name
        filename = class_name.underscore
        load "#{filename}.rb"
        return class_name.constantize
      end

      return controller
    end
def reload!(controller)
      return controller unless defined?(Rails) and !Rails.configuration.cache_classes
      # we don't reload our own controller as we assume it provide as 'library'
      unless controller.name == "WebsocketRails::InternalController"
        class_name = controller.name
        filename = class_name.underscore
        load "#{filename}.rb"
        return class_name.constantize
      end

      return controller
    end
Reloads the controller class to pick up code changes
 while in the development environment.