Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Some core extension methods are not documented

#915

Some core extension methods, like alias_method_chain, are not properly documented. With this I mean that they don't show up properly in the generated API reference HTML and on sites such as rails-doc.org. This is because methods like alias_method_chain are defined directly on the core classes, instead of an ActiveSupport module.

The attached patch fixes this problem. It move some core extension methods into a module under the ActiveSupport::CoreExtensions namespace, instead of extending core classes directly. This is more friendly for API reference generators.

Reported by Hongli Lai · August 27th, 2008 @ 02:51 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Hongli Lai
    Hongli Lai
    • Tag changed from activesupport, doc, edge, patch to activesupport, core_ext, doc, edge, patch

    Updated patch.

    August 29th, 2008 @ 11:14 PM

  2. Repository
    Repository
    • State changed from new to resolved

    (from [204a8cce88d986fcfafe01ce9ba44818739374c3]) Move some core extension methods into a module under the ActiveSupport::CoreExtensions namespace, instead of extending core classes directly. This is more friendly for API reference generators.

    [#915 Some core extension methods are not documented state:resolved]

    Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

    August 29th, 2008 @ 11:16 PM