Flowdock
method

guard_condition

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActionController::Routing::Optimisation::PositionalArgumentsWithAdditionalParams
guard_condition() 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 100
        def guard_condition
          "(!defined?(default_url_options) || default_url_options.blank?) && defined?(request) && request && args.size == #{route.segment_keys.size + 1} && !args.last.has_key?(:anchor) && !args.last.has_key?(:port) && !args.last.has_key?(:host)"
        end
Register or log in to add new notes.