提供免费下载RoR API文档

franksinger 2009-01-28 11:21:26
不少新手在学RoR。其实API文档可从rails命令得到。上传了份最新的API文档:可免费下载,以便更快学习。

http://cid-9f7e807930593b81.skydrive.live.com/self.aspx/.Public/Development/Ruby%20on%20Rails/ror%7C_doc.rar
...全文
281 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
shandong_chu 2010-01-12
  • 打赏
  • 举报
回复
Very good.

很好用。
wuguanlin 2009-07-17
  • 打赏
  • 举报
回复
学习
archangelwin 2009-06-06
  • 打赏
  • 举报
回复
学习不打折
gadfly1981 2009-06-03
  • 打赏
  • 举报
回复
不错,不错
cocolong2002 2009-05-31
  • 打赏
  • 举报
回复
http://api.rubyonrails.org/
wangzhen_518 2009-05-03
  • 打赏
  • 举报
回复
学习一下。。。
jerry520123 2009-03-13
  • 打赏
  • 举报
回复
厉害啊,学习了/
cocolong2002 2009-02-16
  • 打赏
  • 举报
回复
rail 的API可以很方便地用RDOC自己制作是rails的基本功能无需下载,只要一个RDOC命令就行。
例如
rails yourapp
cd yourapp
rdoc --op dir
就制作好了 放在dir 目录下的rails api
用浏览器打开dir 目录下的index.html就可本地查看

附:rdoc 的用法

RDoc V1.0.1 - 20041108

Usage:

rdoc [options] [names...]

Files are parsed, and the information they contain
collected, before any output is produced. This allows cross
references between all files to be resolved. If a name is a
directory, it is traversed. If no names are specified, all
Ruby files in the current directory (and subdirectories) are
processed.

Options:

--accessor, -A accessorname[,..]
comma separated list of additional class methods
that should be treated like 'attr_reader' and
friends. Option may be repeated. Each accessorname
may have '=text' appended, in which case that text
appears where the r/w/rw appears for normal accessor
s.

--all, -a include all methods (not just public)
in the output

--charset, -c charset
specifies HTML character-set

--debug, -D displays lots on internal stuff

--diagram, -d Generate diagrams showing modules and classes.
You need dot V1.8.6 or later to use the --diagram
option correctly. Dot is available from
http://www.research.att.com/sw/tools/graphviz/

--exclude, -x pattern
do not process files or directories matching
pattern. Files given explicitly on the command
line will never be excluded.

--extension, -E new=old
Treat files ending with .new as if they ended with
.old. Using '-E cgi=rb' will cause xxx.cgi to be
parsed as a Ruby file

--fileboxes, -F classes are put in boxes which represents
files, where these classes reside. Classes
shared between more than one file are
shown with list of files that sharing them.
Silently discarded if --diagram is not given
Experimental.

--force-update, -U forces to scan all sources even if newer than
the flag file.

--fmt, -f format name
set the output formatter (see below)

--help, -h you're looking at it

--help-output, -O explain the various output options

--image-format, -I gif/png/jpg/jpeg
Sets output image format for diagrams. Can
be png, gif, jpeg, jpg. If this option is
omitted, png is used. Requires --diagram.

--include, -i dir[,dir...]
set (or add to) the list of directories
to be searched when satisfying :include:
requests. Can be used more than once.

--inline-source, -S Show method source code inline, rather
than via a popup link

--line-numbers, -N Include line numbers in the source code

--main, -m name 'name' will be the initial page displayed

--merge, -M when creating ri output, merge processed classes
into previously documented classes of the name name

--one-file, -1 put all the output into a single file

--op, -o dir set the output directory

--opname, -n name Set the 'name' of the output. Has no
effect for HTML.

--promiscuous, -p When documenting a file that contains a module
or class also defined in other files, show
all stuff for that module/class in each files
page. By default, only show stuff defined in
that particular file.

--quiet, -q don't show progress as we parse

--ri, -r generate output for use by 'ri.' The files are
stored in the '.rdoc' directory under your home
directory unless overridden by a subsequent
--op parameter, so no special privileges are needed.


--ri-site, -R generate output for use by 'ri.' The files are
stored in a site-wide directory, making them accessi
ble
to others, so special privileges are needed.

--ri-system, -Y generate output for use by 'ri.' The files are
stored in a system-level directory, making them acce
ssible
to others, so special privileges are needed. This op
tion
is intended to be used during Ruby installations

--show-hash, -H A name of the form #name in a comment
is a possible hyperlink to an instance
method name. When displayed, the '#' is
removed unless this option is specified

--style, -s stylesheet url
specifies the URL of a separate stylesheet.

--tab-width, -w n Set the width of tab characters (default 8)

--template, -T template name
Set the template used when generating output

--title, -t text Set 'txt' as the title for the output

--version, -v display RDoc's version

--webcvs, -W url Specify a URL for linking to a web frontend
to CVS. If the URL contains a '%s', the
name of the current file will be substituted;
if the URL doesn't contain a '%s', the
filename will be appended to it.


Available output formatters: chm, html, ri, xml

For information on where the output goes, use

rdoc --help-output
franksinger 2009-02-13
  • 打赏
  • 举报
回复
http://download.csdn.net/source/986710
已经上传至csdn
migid 2009-02-12
  • 打赏
  • 举报
回复
楼主,是不能解压缩呢,你查查看看!~谢谢了
franksinger 2009-02-02
  • 打赏
  • 举报
回复
是你不会用吧。。。吃饱了撑的,骗你。。。
jerry520123 2009-02-01
  • 打赏
  • 举报
回复
骗子阿,下回来,什么也没阿!!!!!
DooPHP 是一个敏捷的轻量级开源 PHP 开发框架,采用 MVC 设计模式和对象关系映射(ORM)技术,可以有效的提高项目开发效率。   DooPHP 本身的设计更注重的是其核心性能,而不是花哨的功能,它更适合那些不想花太多时间学习一种框架或者一门新的语言的人。   如果你不喜欢某些框架产生的那些后期难以维护和修改的设计,那么 DooPHP 一定适合你。DooPHP 给你干净的视图文件,而不是难以理解的思想。   如果下面这个介绍列表让你欣喜,那么你一定会喜欢上 DooPHP。   1. 高性能   2. 较低的学习曲线   3. 高度灵活性   4. 轻量级,全部文件加起来不超过1M   具体来说:   1. 它不会改变你使用 PHP 的习惯。依然支持$_GET。   2. 它具有很高的兼容性。   3. 它只需要三个配置文件。 即只需要设置你的项目路径。   4. 它不需要使用命令行,SSH也不是必须的。   5. 它不是另一个版本的RoR克隆,没有特别的编码规范约束。   6. 它具有清晰、完整的文档。   7. 它具有松耦合特性,可用于其他外部项目。   8. 它可以很轻松的结合第三方类。   9. 如果使用Netbeans开发,还会有代码提示支持。   10. 它具有完整的API,能够很好的结合AJAX 或者 Flash/Flex进行混合开发。   11. 它的 URL 被设计成对搜索引擎和人类友好。   12. 它本身非常灵活,并且具有可扩展的模版引擎。   13. 它针对common settings, routes, DB configs, DB relationship进行了几种控制。

2,763

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Ruby/Rails
社区管理员
  • Ruby/Rails社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧