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

Ticket #10429 (closed enhancement: fixed)

Opened 9 months ago

Last modified 9 months ago

[PATCH][DOCS] Reveal Documentation on Key RouteSet::Mapper methods

Reported by: jamesh Assigned to: core
Priority: normal Milestone: 2.x
Component: ActionPack Version: edge
Severity: normal Keywords: docs verified
Cc:

Description

Numerous methods used for routing aren't currently revealed when generating docs for Rails. This patch opens up the "root", "connect" and "namespace" methods in ActionController::Routing::RouteSet::Mapper class. This should help newbs find these methods and their documentation much more easily.

I was unsure about the "named_route" method and left it undocumented given that it's use is more indirect.

Attachments

reveal_routeset_mapping_docs.diff (1.6 kB) - added by jamesh on 12/09/07 00:10:44.
reveal_routeset_mapping_docs_include_ideas_from_10459.diff (2.3 kB) - added by jamesh on 12/11/07 04:16:26.
Includes some great ideas from duplicate, later ticket #10459

Change History

12/09/07 00:10:44 changed by jamesh

  • attachment reveal_routeset_mapping_docs.diff added.

12/11/07 04:16:26 changed by jamesh

  • attachment reveal_routeset_mapping_docs_include_ideas_from_10459.diff added.

Includes some great ideas from duplicate, later ticket #10459

12/11/07 08:00:46 changed by ssoroka

I suppose you get my +1 by proxy then? :)

12/11/07 08:11:57 changed by evolving_jerk

+1

12/14/07 00:00:32 changed by mdemare

+1

12/14/07 01:30:52 changed by rsanheim

+1

12/14/07 14:51:54 changed by jeremymcanally

  • keywords changed from docs to docs verified.

+1

12/14/07 18:12:12 changed by david

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

(In [8387]) Docfix (closes #10429) [jamesh/ssoroka]