Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9858 (closed enhancement: fixed)

Opened 1 year ago

Last modified 2 months ago

Resources Documentation: Associations missing, Namespaces missing

Reported by: java Assigned to: core
Priority: normal Milestone: 2.x
Component: ActionPack Version: edge
Severity: normal Keywords: docs, routing, resources
Cc:

Description

I noticed that the has_many/has_one options for resources aren't currently mentioned in the documentation.

There's a doc-comment for ActionController::Routing::RouteSet::Mapper#namespace, but namespaces don't show up in the generated API doc.

I don't understand resources well enough yet to provide a patch, but this should be adressed before 2.0.

Change History

10/12/07 21:38:52 changed by java

Another thing that just came to my mind: Aren't nested resources and has_many/has_one fulfilling the same purpose?

10/14/07 05:23:44 changed by bitsweat

  • milestone changed from 2.0 to 2.x.

They're shorthand for nested resources, yes.

10/09/08 12:07:11 changed by java

  • status changed from new to closed.
  • resolution set to fixed.

Seems fixed now