method

guard_conditions

Method deprecated or moved

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

guard_conditions()
public

No documentation available.

# 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