Flowdock
method

raise_generation_error

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: OptimizedUrlHelper
raise_generation_error(args, missing_keys) private

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/routing/route_set.rb, line 214
            def raise_generation_error(args, missing_keys)
              constraints = Hash[@route.requirements.merge(args).sort]
              message = "No route matches #{constraints.inspect}"
              message << " missing required keys: #{missing_keys.sort.inspect}"

              raise ActionController::UrlGenerationError, message
            end
Register or log in to add new notes.