APIdock / Ruby on Rails
/
Browse About
method

canonical_action?

v4.2.9 - Show latest stable - Class: ActionDispatch::Routing::Mapper::Scoping::Resources
canonical_action?(action)
protected

No documentation available.

# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1710
          def canonical_action?(action) #:nodoc:
            resource_method_scope? && CANONICAL_ACTIONS.include?(action.to_s)
          end

Related methods

  • Instance methods
  • add_route
  • collection
  • decomposed_match
  • match
  • member
  • namespace
  • nested
  • new
  • resource
  • resources
  • resources_path_names
  • root
  • shallow
  • shallow?
  • using_match_shorthand?
  • Protected methods
  • protectedaction_options?
  • protectedaction_path
  • protectedapply_common_behavior_for
  • protectedcanonical_action?
  • protectedname_for_action
  • protectednested_options
  • protectednested_scope?
  • protectednesting_depth
  • protectedparam_constraint
  • protectedparam_constraint?
  • protectedparent_resource
  • protectedpath_for_action
  • protectedprefix_name_for_action
  • protectedresource_method_scope?
  • protectedresource_scope
  • protectedresource_scope?
  • protectedscope_action_options
  • protectedscope_action_options?
  • protectedset_member_mappings_for_resource
  • protectedshallow_nesting_depth
  • protectedshallow_scope
  • protectedwith_exclusive_scope
  • protectedwith_scope_level
APIdock API Documentation Browser

© 2026 APIdock