Resources are links to Rails-related “resources”, generally code or ideas you can use, or enlightening commentaries, or whatever. I’m collecting them here as I find them and will think of a way to organise them later.
A lot of ideas are discussed at DocumentationDiscussion. Rather than further pollute that space, I’ll lay out my thoughts here.
At the moment (April 2005), the API documentation is very commendable for an open source project. There are holes, but most methods are documented, and most important classes and modules have good overview documentation.
A testament to the strength of the API documentation is that many questions on mailing lists and IRC contain a link to a particular class/module within the API docs.
The hieraki-based manuals are excellent, and prove that the hieraki platform is effective at delivering this kind of material.
Tutorials are very good, but more are needed. The existing ones only scratch the surface of Rails.
The Wiki has a lot of helpful content in it, and has benefited from extensive gardening. The Howtos section is particularly excellent, and should be a model for further organisation.
There’s a Rails FAQ website somewhere, but it’s difficult to find using Google. The maintainer says it’s undergoing a rewrite and will have a stronger presence in future.
Finally, several Rails books are due for release in 2005. Nearly all publishers make sample chapters available on their websites along with various supporting items such as introductory articles (O’Reilly are particularly good at this). These should be referenced from the relevant areas of the wiki.
On DocumentationDiscussion, there’s a lot of analysis about RDoc, and how its supposed limitations might be overcome. I say “forget it”. RDoc does its job extremely well. If we need or want better Rails documentation (infrastructure and content), it’s not because RDoc is holding us back.
You can’t link to method definitions in the RDoc output, because the anchors are merely sequential numbers, but you can link to classes and modules. For instance, the URL for FormTagHelper is http://api.rubyonrails.com/classes/ActionView/Helpers/FormTagHelper.html, which is entirely predictable based on the full module name ActionView::Helpers::FormTagHelper.
I suggest that being able to link to classes and modules is sufficient for referencing purposes in email and IRC. Furthermore, such links shouldn’t even be necessary: just link to the base API doc page, and tell them which class/module to look at.
Also, RDoc should only be used for API documentation. The other formats are better suited to other kinds of documentation. The Wiki should be able to tie it all together, providing links to the API, to articles, to tutorials, and also providing some original content.
The Howtos section of the wiki is very good. What’s good about iit?
Much of the rest of the wiki is poorly organised, though; such is the chaotic nature of wikis.
I like the “What are…?” pages; more of these should be added.
I introduced the “manuals” section. This would be better titled “Understanding”, and perhaps even better just rolled into “What are…?”.
I need to go into more detail here, but in summary:
We should read a Rails book to get the big picture.
We should use tutorials to get a guided, hands-on introduction to Rails.
We should use the API docs as a reference for understanding a paricular class/module/method.
We should read the hieraki-based manuals to gain detailed understanding of a particular facet of Rails (testing, internationalisation, security, …).
We should search and browse the wiki to find Q&A, introductions to various topics, links to other resources, etc.