method

determine_default_controller_class

Importance_0
v2.0.3 - Show latest stable - 0 notes - Class: ActionController::TestCase
determine_default_controller_class(name) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/test_case.rb, line 38
      def determine_default_controller_class(name)
        name.sub(/Test$/, '').constantize
      rescue NameError
        raise NonInferrableControllerError.new(name)
      end
Register or log in to add new notes.