method

determine_default_controller_class

rails latest stable - Class: ActionController::TestCase

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

determine_default_controller_class(name)
public

No documentation available.

# File actionpack/lib/action_controller/test_case.rb, line 178
      def determine_default_controller_class(name)
        name.sub(/Test$/, '').constantize
      rescue NameError
        nil
      end