Analyzer::Ruby::Rails::Frame
Constructors
Instance methods
with_options only: [:index] do: options every route call in the
block takes unless it spells its own.
with_options only: [:index] do: options every route call in the
block takes unless it spells its own.
The URL key a plural resources frame binds (:id, or param:),
which nested routes see as <singular>_<param>; nil on a singular
resource, whose URL carries no key.
The URL key a plural resources frame binds (:id, or param:),
which nested routes see as <singular>_<param>; nil on a singular
resource, whose URL carries no key.
shallow do / resources ..., shallow: true: nested resources below
this frame get shallow member routes.
shallow do / resources ..., shallow: true: nested resources below
this frame get shallow member routes.
A shallow-nested resources frame: its member path stands on its own
(comments/:id, not posts/:post_id/comments/:id), so it replaces
the enclosing resources' paths for everything nested under it.
A shallow-nested resources frame: its member path stands on its own
(comments/:id, not posts/:post_id/comments/:id), so it replaces
the enclosing resources' paths for everything nested under it.