views:

67

answers:

3

There are a number of resources online that host Rails and Ruby documentation in various forms and styles. A number of them are good, but none of them document the modules and classes with the methods available from the numerous extensions provided by ActiveSupport and others.

For example, with the Standard ruby Hash class, the core ruby version is Here.

But, ActiveSupport has a number of extensions to the Hash class, one of them (Hash#except) is documented Here

In order to find the full documentation for the Hash class and a list of all methods available, you'd have to know all the different places to look and know which modules are included in which classes.

Is there any online documentation resource that attempts to document each class in Ruby / Rails with all of the mixed in extensions on a single page?

Update

I've seen and used the following resources, but I'm looking for something that documents the modules and classes as the are within the runtime environment, i.e. all the methods listed in Hash.instance_methods documented in one place (Hash is just an example)

+2  A: 

http://railsapi.com/

You pick the version of Rails and Ruby that you want (and some other popular gems), and it will build you a custom set of docs. You can either download the docs, or browse them online. Love this site.

The only downside (for me) is they don't keep docs for Ruby 1.8.6 (only 1.8.7), which is what I run for Heroku.

BrendanDean
I'm looking for something that documents the Ruby and Rails classes *as they are* while using them. railsapi.com is nice, but it still jut documents all the modules separately.
Daniel Beardsley
Sorry I didn't understand exactly what you were looking for. Still, that might be more trouble than it's worth. If you want Hash methods, you just have to know that it has the Ruby implementation, the Rails extensions, and the Enumerable mixin. At least that's all available in one search box in railsapi.com. And typing 'hash' brings up the docs for the Ruby and Rails methods right next to each other.
BrendanDean
This answer isn't correct, railsapi.com, while useful, doesn't meet the requirements the question asks about.
Daniel Beardsley
Truth. I voted up your response.
BrendanDean
A: 

http://apidock.com/ is very good too. Not only you get access to the documentation, but also to valuable comments left by users.

gdelfino
+3  A: 

No, there isn't such a resource is also a possible answer.

If you are pretty sure there is no such resource, please vote this up.

Daniel Beardsley