Flowdock
method

guard_conditions

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActionController::Routing::Optimisation::PositionalArgumentsWithAdditionalParams
guard_conditions() 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/routing/optimisations.rb, line 108
        def guard_conditions
          ["args.size == #{route.segment_keys.size + 1}"] +
          UrlRewriter::RESERVED_OPTIONS.collect{ |key| "!args.last.has_key?(:#{key})" }
        end
Register or log in to add new notes.