Flowdock
method

assert_index

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: ActionDispatch::MiddlewareStack
assert_index(index, where) protected

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_dispatch/middleware/stack.rb, line 117
    def assert_index(index, where)
      i = index.is_a?(Integer) ? index : middlewares.index(index)
      raise "No such middleware to insert #{where}: #{index.inspect}" unless i
      i
    end
Register or log in to add new notes.