Flowdock
method

discover_rack_app

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: RouteInspector

Method deprecated or moved

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

discover_rack_app(app) public

No documentation

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

Hide source
# File railties/lib/rails/application/route_inspector.rb, line 74
      def discover_rack_app(app)
        class_name = app.class.name.to_s
        if class_name == "ActionDispatch::Routing::Mapper::Constraints"
          discover_rack_app(app.app)
        elsif class_name !~ /^ActionDispatch::Routing/
          app
        end
      end
Register or log in to add new notes.