method

invalid_only_except_options

rails latest stable - Class: ActionDispatch::Routing::Mapper::Mapping::Scoping::Resources::Resource

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

invalid_only_except_options(options, valid_actions)
private

No documentation available.

# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1270
            def invalid_only_except_options(options, valid_actions)
              options.values_at(:only, :except).flatten.compact.uniq.map(&:to_sym) - valid_actions
            end