APIdock / Ruby on Rails
/
Browse About
method

parent_resource

v3.2.13 - Show latest stable - Class: ActionDispatch::Routing::Mapper::Resources
parent_resource()
protected

No documentation available.

# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1327
          def parent_resource #:nodoc:
            @scope[:scope_level_resource]
          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?
  • protectedid_constraint
  • protectedid_constraint?
  • protectedname_for_action
  • protectednested_options
  • protectedparent_resource
  • protectedpath_for_action
  • protectedprefix_name_for_action
  • protectedresource_method_scope?
  • protectedresource_scope
  • protectedresource_scope?
  • protectedscope_action_options
  • protectedscope_action_options?
  • protectedshallow_scoping?
  • protectedwith_exclusive_scope
  • protectedwith_scope_level
APIdock API Documentation Browser

Measure what matters with Swarmia's SPACE framework implementation.

© 2026 APIdock