
Rails框架:Rails 3正式版本上市!
由Gudao Luo在2010-07-27 at 22:46发表的

- 评论
- Rails3框架是一个全新的Ruby网络应用框架,它完全不同于Rails2框架。
- Rails3框架更加结构化、更加模块化、更加独立化和更加层次化。
- Rails 3.0.0.rc是发行Beta版本最多的一个版本。
- 简单使用说明
- 需要什么Ruby版本?
- >= 1.8.7
- 如何安装Rails3?
- sudo gem install rails —pre
- 如何创建一个Rails3项目?
- rails new 项目名称
- 如何启动一个Rails3项目?下面几种方法任何一个都可以:
- rails server
- thin start
- unicorn -p3000
- 需要什么Ruby版本?
- 参考资料
- Rails 3.0: Release candidate! http://goo.gl/yYjQ
- Ruby on Rails 3.0 Release Notes http://goo.gl/gHGi
- Rails3 info http://rails3info.com/
- Ruby on Rails Tutorial http://goo.gl/hvSx 最新Rails技术免费图书!
- 8 Reasons I love Ruby http://goo.gl/ZxgE
- The Reasons I Like Ruby http://goo.gl/yYom
- Why I Like Ruby, Part 2: Blocks
- The Ruby/Rails Life – My Rails 3 Stack – Part 1 http://goo.gl/gF6u
- The Ruby/Rails Life – My Rails 3 Stack – Part 2 http://goo.gl/65g1
网络世界:值得一读的推特Ruby新闻
由Gudao Luo在2010-07-25 at 12:41发表的
Rails世界:怎么把大系统划分为若干子系统
由Gudao Luo在2010-07-17 at 21:30发表的

- 参考资料
- RailsConf 2010: we rocked the world http://goo.gl/k5X5
- From 1 to 30 – How to refactor one monolithic application into an application ecosystem http://goo.gl/Vzuy
- RailsConf 2010 演讲台上的中国人 http://goo.gl/BFmh
Apple世界:Rails IDE开发工具NetBeans
由Gudao Luo在2010-06-21 at 11:24发表的

- 使用方法
- 参考资料
- NetBeans Ruby版本下载链接 http://goo.gl/TwPs
- NetBeans下载页面 http://netbeans.org/downloads/index.html
Apple世界:基于Ruby语言的系统软件包管理软件HomeBrew
由Gudao Luo在2010-06-20 at 21:51发表的

- 说明
- 参考资料
- Homebrew: OS X’s Missing Package Manager http://goo.gl/BpbW
- 2009苹果开发环境搭建指南 http://goo.gl/3w5x
图书世界:网络开放免费书籍《MacRuby: The Definitive Guide》
由Gudao Luo在2010-06-18 at 09:03发表的

- 说明
- 面对开源软件、开源硬件、免费游戏、免费邮箱和免费图书等,是否我们的网络虚拟世界正在向一个理想的共产社会发展?
- 参考资料
- MacRuby: The Definitive Guide http://goo.gl/fRN7
- Writing an open licensed book http://goo.gl/X0hE
- 开放免费图书 http://oreilly.com/openbook/
Apple世界:使用QuickTime播放wmv视频文件
由Gudao Luo在2010-06-17 at 09:20发表的

- 下载页面
- Flip4Mac Windows Media Components for QuickTime http://goo.gl/Fmcz
Ruby世界:在Ruby和Rails交互界面中使用Vim
由Gudao Luo在2010-06-16 at 13:04发表的
- 安装命令
- sudo gem install interactive_editor
- 配置方法
- vim ~/.irbrc
- vim ~/.vimrc
- vim ~/.irbrc
- 使用方法
- 启动下面命令之一
- irb
- ./script/console #Rails2
- rails console #Rails3
- 输入vi或者vim
- 输入需要在交互界面的Ruby语言代码
- 退出vi或者vim
- 启动下面命令之一
- 参考资料
- Running Vim within IRB http://goo.gl/oE79
- Podcast: vimcasts http://goo.gl/NI8o
Ruby世界:使用iTune学习Ruby语言和Rails框架
由Gudao Luo在2010-06-14 at 20:17发表的

- 前提条件
- 下载软件Apple iTune for windows或者mac
- http://www.apple.com/itunes/ http://www.apple.com/itunes/
- 安装软件apple iTune
- 启动软件apple iTune
- 注册帐号
- 使用iTune
- 启动软件apple iTune
- 进入Store >>> iTune Store
- 登陆帐号
- 进入App Store
- 在搜索中,输入“ruby rails”
- 选择与Ruby和Rails相关的网络视频(Podcast)下载
- 进入资料库 >>> Podcast,就看到你下载的网络视频资料
- 点击你想看的网络视频,下载你需要的视频
Rails世界:Rails2 与 Rails3 代码比较
由Gudao Luo在2010-04-03 at 22:29发表的
Rails 3 Beautiful Code
View more presentations from GreggPollack.
软件世界:安装非SQL语句数据库MongoDB
由Gudao Luo在2010-03-30 at 05:19发表的
网络文章推荐:SQL数据库终结了吗?
由Gudao Luo在2010-03-29 at 21:55发表的
软件框架:jQuery三年来的发展趋势
由Gudao Luo在2010-03-28 at 22:28发表的
- 参考资料
- 全新JavaScript库jQuery http://www.lycom.de/past/2007/2/23/jquery2007-02-23_232016/
- 在Rails中应用jQuery http://www.infoq.com/cn/presentations/zhaolu-jquery
- 春风得意的 jQuery http://www.comsharp.com/GetKnowledge/zh-CN/It_News_K932.aspx
苹果世界:看来硬盘容量以十进制表示成为趋势
由Gudao Luo在2010-03-27 at 21:27发表的

- 参考资料
- Ubuntu implements units policy, will switch to base-10 units in future release http://www.neowin.net/news/ubuntu-implements-units-policy-will-switch-to-base-10-units-in-future-release
- Ubuntu 10.10将采用十进制表示文件大小 http://linux.solidot.org/linux/10/03/27/164215.shtml
- 苹果给硬盘GB定义争论火上浇油 http://apple.solidot.org/apple/09/08/30/0426255.shtml?tid=62
软件世界:什么字体最节省打印墨?
由Gudao Luo在2010-03-26 at 21:50发表的

- 参考资料
- Wis. college says new e-mail font will save money http://news.yahoo.com/s/ap/20100326/ap_on_fe_st/us_odd_cheaper_e_mail_font
- 字体Century Gothic下载地址 http://www.yaomao.com/down.asp?ID=9363
- 大学为省钱改变电子邮件字体 http://it.solidot.org/it/10/03/27/0149241.shtml
网络世界:2010.03.13. Google Buzz
由Gudao Luo在2010-03-13 at 22:13发表的

- 推荐文章
- 关于iPhone平台开发生态我的看法 http://tiny4.org/blog/2010/03/iphone-developer/
- "西厢计划"Ubuntu安装配置指南":http://blog.xiaogaozi.org/2010/03/ubuntu.html http://blog.xiaogaozi.org/2010/03/ubuntu.html
软件世界:使用Aquamacs的最基本方法
由Gudao Luo在2010-02-24 at 08:20发表的

- 使用说明
- 下面逗号表示放开所有键再继续按相关键;
- 下面加号表示组合键;
- 几个连着的大写字母表示是一个键,如ENTER;
- 一个或者几个连着小写字母是需求一个一个字母全部输入,如下面的revert;
- 下面分号表示或者选择其它键;
- Aquamacs最基本方法
- 退出软件
- CTRL+x, CTRL+c
- 切换内存的文件
- CTRL+x, b, >;< , ENTER
- 创建或者切换目录的文件
- CTRL+x, CTRL+f
- 关闭文件
- CTRL+x, k, ENTER
- CTRL+x, k, >;<, ENTER
- 单文件和双文件显示
- CTRL+x, 2
- CTRL+x, 1
- 移动光标到行首和行尾
- CTRL+a
- CTRL+e
- 移动光标到上一行和下一行
- CTRL+n
- CTRL+l
- 使用系统命令
- ESC, !
- 更新内存的文件
- ESC, x, revert
- 退出软件
- 参考资料
- http://community.schemewiki.org/?emacs-tutorial http://community.schemewiki.org/?emacs-tutorial
- http://www.gnu.org/software/emacs/tour/ http://www.gnu.org/software/emacs/tour/
- http://xahlee.org/emacs/emacs_basics.html http://xahlee.org/emacs/emacs_basics.html
- http://hepg.sdu.edu.cn/Service/linux/application/emacs.html http://hepg.sdu.edu.cn/Service/linux/application/emacs.html
- http://blog.xiaogaozi.org/2008/06/emacs.html http://blog.xiaogaozi.org/2008/06/emacs.html
软件世界:看看Aquamacs的Rails扩充件
由Gudao Luo在2010-02-23 at 06:28发表的

- 前提条件
- 选择Mac OS X上的emacs:Aquamacs http://www.lycom.de/past/2010/2/22/2010-02-27-aquamacs/
- 安装方法
- 参考资料
- http://github.com/walter/aquamacs-emacs-starter-kit http://github.com/walter/aquamacs-emacs-starter-kit
- http://tinyurl.com/5c57r7 http://tinyurl.com/5c57r7
- http://chinaonrails.com/topic/view/569.html http://chinaonrails.com/topic/view/569.html
- http://tinyurl.com/y95qfnu http://tinyurl.com/y95qfnu
- http://tinyurl.com/y8fae7m http://tinyurl.com/y8fae7m
- http://tinyurl.com/yz2k9l6 http://tinyurl.com/yz2k9l6
Apple世界:选择Mac OS X上的emacs:Aquamacs
由Gudao Luo在2010-02-22 at 07:13发表的

- 说明
- Mac OS X有很多版本emacs,请看下面链接。
- 选择Rails开发工具一些原则:良好中文支持、免费、跨操作系统和Ruby+Rails支持。
- 选择Mac OS X上的emacs应该是:Aquamacs。除了上面的理由之外,还有:更友好软件界面和MacOSX风格。
- 软件开发编辑器的三种层次:vim(最轻量级)、emacs(轻量级,如TextMate)和NetBeans(重量级,如Aptana)。其实我们都需要它们,只是视不同的使用场合而定。
- 接下来将会介绍:安装Rails插件到Aquamacs和使用emacs。
- 参考资料
- emacs http://www.gnu.org/software/emacs/
- aquamacs http://aquamacs.org/download.shtml
- emacs for macosx http://emacsformacosx.com/
- Carbon Emacs Package http://homepage.mac.com/zenitani/emacs-e.html
- http://news.ycombinator.com/item?id=399847 http://news.ycombinator.com/item?id=399847
- http://www.hoenn.net/blog/index.php?/archives/76-Die-Emacssituation-unter-OS-X.html http://www.hoenn.net/blog/index.php?/archives/76-Die-Emacssituation-unter-OS-X.html
- http://www.emacswiki.org/emacs/EmacsForMacOS
http://www.emacswiki.org/emacs/EmacsForMacOS
软件世界:安装非SQL语句数据库Cassandra
由Gudao Luo在2010-02-21 at 19:03发表的

- 安装方法
- 说明
- Cassandra是最初由Facebook开发的。
- Cassandra是高度灵活性、结果一致性、计算分布性和结构键值存储的第二代数据库。
- Cassandra从大量的大表非SQL语句数据库脱颖而出。
- Rackspace、Digg、Facebook、Twitter、Cisco、Mahalo和 Ooyala等公司是Cassandra数据库的用户。
- 前提条件
- 把Mac OS X 10.5.8切换到Java JDK 1.6 http://www.lycom.de/past/2010/2/20/upgrade_mac_os_x_1058_java_jdk/
- 参考资料
- 首页Cassandra http://incubator.apache.org/cassandra/
- Running Cassandra 0.5.0 on Mac OS X Leopard 10.5.8 http://tinyurl.com/y8ra4k7
- Installing Cassandra and Thrift on OSX http://www.klunde.net/2009/11/20/installing-cassandra-and-thrift-on-osx/
- 中文维克Cassandra http://zh.wikipedia.org/wiki/Cassandra
- How Twitter Is Moving To the Cassandra Database http://tinyurl.com/ygge33w
- Twitter计划迁移到Cassandra分布式数据库 http://developers.solidot.org/developers/10/02/26/099230.shtml
- Digg与Reddit加入NoSQL阵营 http://www.infoq.com/cn/news/2010/03/Digg-Reddit-NoSQL-Cassandra
Apple世界:如何把Mac OS X 10.5.8切换到Java JDK 1.6
由Gudao Luo在2010-02-20 at 12:53发表的
- 参考资料
- Upgrade OS X 10.5.8 to JDK 1.6 http://memerocket.com/2009/08/06/upgrade-os-x-10-5-8-to-jdk-1-6/
Apple世界:如何卸载出了问题的Adobe Reader软件
由Gudao Luo在2010-02-19 at 13:08发表的

- 问题说明
- 有一天,打开一个PDF文件,看到Adobe Reader一下子打开无数个PDF文件。在应用软件目录下删除了Adobe Reader又安装了它,都无济于事。因为Adobe Reader不仅此一个文件,还在其它地方分布了大量的文件。而Adobe Reader没有提供卸载软件的功能。无奈只能手工实施了。
- 操作说明
- 第一步:删除Abobe Air软件,并且搜索Abode Reader相关的文件和目录。
- 第二步:删除所有Abode Reader相关的文件和目录。
- 第三步:在安装新的Adobe Reader之前,需要恢复相目录。
- 第一步:删除Abobe Air软件,并且搜索Abode Reader相关的文件和目录。
- 评论
- Adobe卸载是一项灾难性的工作。看来在操作系统中无规则的软件安装肯定不是一件好事。
- 在终端中目录存在空格是一种灾难的事情,不小心没有输入反斜杠,就可能删除不该删除的目录。可能导致程序或者甚至系统无法运行。
- 而重新安装Adobe Reader以后,怎么也无法启动成功,是因为多删除了上面我们增加的目录。
- 参考资料
- http://discussions.apple.com/message.jspa?messageID=7065095
- http://www.project-insomnia.com/2009/07/manually-uninstalling-adobe-acrobat.shtml http://www.project-insomnia.com/2009/07/manually-uninstalling-adobe-acrobat.shtml
- http://www.rawcomputing.co.uk/macuninstall.html http://www.rawcomputing.co.uk/macuninstall.html
- http://kb2.adobe.com/cps/321/321485.html http://kb2.adobe.com/cps/321/321485.html
Rails3世界:使用抽象持久层Arel(六)
由Gudao Luo在2010-02-18 at 23:22发表的

- 说明
- Arel是框架的框架。
- Arelk可以创建自己的持久层框架。
- Arel是Rails3框架的基础。
- 参考资料
- http://github.com/rails/arel http://github.com/rails/arel
- 系列全部内容
- Rails3世界:安装Ruby1.8.7(一甲) http://www.lycom.de/past/2010/2/7/2010-02-07-rvm-ruby187/
- Rails3世界:安装Ruby1.9.1(一乙) http://www.lycom.de/past/2010/2/6/2010-02-07-rvm-ruby191/
- Rails3世界:安装Rails3.0pre版本(二) http://www.lycom.de/past/2010/2/8/2010-02-07-rails3-pre/
- Rails3世界:使用软件包管理工具Bundler(三) http://www.lycom.de/past/2010/2/10/2010-02-10-bundler/
- Rails3世界:使用另外的网络服务器Unicorn(四) http://www.lycom.de/past/2010/2/13/2010-02-14-unicorn/
- Rails3世界:使用新的命令rails(五) http://www.lycom.de/past/2010/2/17/2010-02-17-rails-command/
- Rails3世界:使用抽象持久层Arel(六) http://www.lycom.de/past/2010/2/18/2010-02-18-arel/
Rails3世界:使用新的命令rails(五)
由Gudao Luo在2010-02-17 at 11:14发表的

- rails命令说明
- rails命令与Rails2版本有比较大的变化。
- rails命令现在不仅仅是创建Rails程序,而且在$RAILS_ROOT目录下使用rails命令相当于Rails2版本"./script/"。源代码请看下面参考资料的链接(1)。
- Rails3pre的说明存在错误。请看下面参考资料的链接(2)。
- 使用命令rails(Rails3pre)
- 参考资料
- http://tinyurl.com/yblbgy8 http://tinyurl.com/yblbgy8
- Wrong examples for plugin installation and generators in usage documentation http://tinyurl.com/yc76bdj
- 系列全部内容
- Rails3世界:安装Ruby1.8.7(一甲) http://www.lycom.de/past/2010/2/7/2010-02-07-rvm-ruby187/
- Rails3世界:安装Ruby1.9.1(一乙) http://www.lycom.de/past/2010/2/6/2010-02-07-rvm-ruby191/
- Rails3世界:安装Rails3.0pre版本(二) http://www.lycom.de/past/2010/2/8/2010-02-07-rails3-pre/
- Rails3世界:使用软件包管理工具Bundler(三) http://www.lycom.de/past/2010/2/10/2010-02-10-bundler/
- Rails3世界:使用另外的网络服务器Unicorn(四) http://www.lycom.de/past/2010/2/13/2010-02-14-unicorn/
- Rails3世界:使用新的命令rails(五) http://www.lycom.de/past/2010/2/17/2010-02-17-rails-command/
- Rails3世界:使用抽象持久层Arel(六) http://www.lycom.de/past/2010/2/18/2010-02-18-arel/
代码世界:如何理解Ruby类及其函数?
由Gudao Luo在2010-02-16 at 18:15发表的

- 说明
- 首先要理解类的函数是什么意思。
- 其次类没有我们所需要的函数,但是有自己想法。
- 最后就自己写个相关函数,与大家共享。
- 参考资料
- http://chinaonrails.com/topic/view/3730.html http://chinaonrails.com/topic/view/3730.html
- http://ruby-doc.org/core/classes/Array.html http://ruby-doc.org/core/classes/Array.html
- http://carsonified.com/blog/dev/ruby-arrays/ http://carsonified.com/blog/dev/ruby-arrays/
- http://tinyurl.com/yge2k4c http://tinyurl.com/yge2k4c
Apple世界:组合自己的图片工具iConMerge
由Gudao Luo在2010-02-15 at 10:06发表的

- 参考资料
- http://github.com/mocra/iconmerge http://github.com/mocra/iconmerge
- http://mocra.com/projects/iconmerge/ http://mocra.com/projects/iconmerge/
天天红玉世界:衷心祝愿大家新年愉快!
由Gudao Luo在2010-02-14 at 00:01发表的
Rails3世界:使用另外的网络服务器Unicorn(四)
由Gudao Luo在2010-02-13 at 23:54发表的

- 说明
- Unicorn网站写到: “… Process management: Unicorn will reap and restart workers that die from broken apps.”
- 最重要的是因为存在$RAILS_ROOT/config.ru文件。
- 同样适用于Rails3类似于Unicorn的网络服务器 rainbows http://github.com/darkhelmet/rainbows
- 使用命令
- 参考资料
- http://cmelbye.github.com/2009/10/04/thin-vs-unicorn.html http://cmelbye.github.com/2009/10/04/thin-vs-unicorn.html
- http://unicorn.bogomips.org/ http://unicorn.bogomips.org/
- http://unicorn.bogomips.org/Unicorn.html http://unicorn.bogomips.org/Unicorn.html
- http://adventuresincoding.com/2010/02/riding-ruby-on-rails-3-bundler/ http://adventuresincoding.com/2010/02/riding-ruby-on-rails-3-bundler/
- Everything You Need to Know About Unicorn
- 系列全部内容
- Rails3世界:安装Ruby1.8.7(一甲) http://www.lycom.de/past/2010/2/7/2010-02-07-rvm-ruby187/
- Rails3世界:安装Ruby1.9.1(一乙) http://www.lycom.de/past/2010/2/6/2010-02-07-rvm-ruby191/
- Rails3世界:安装Rails3.0pre版本(二) http://www.lycom.de/past/2010/2/8/2010-02-07-rails3-pre/
- Rails3世界:使用软件包管理工具Bundler(三) http://www.lycom.de/past/2010/2/10/2010-02-10-bundler/
- Rails3世界:使用另外的网络服务器Unicorn(四) http://www.lycom.de/past/2010/2/13/2010-02-14-unicorn/
- Rails3世界:使用新的命令rails(五) http://www.lycom.de/past/2010/2/17/2010-02-17-rails-command/
- Rails3世界:使用抽象持久层Arel(六) http://www.lycom.de/past/2010/2/18/2010-02-18-arel/
网络世界:SMS短信还需要吗?
由Gudao Luo在2010-02-11 at 23:06发表的
Rails3世界:使用软件包管理工具Bundler(三)
由Gudao Luo在2010-02-10 at 09:22发表的
Rails3框架新的结构
Rails3框架传统结构- 前提条件
- Ruby 1.8.7 + Rails 3.0pre
- 传统结构操作过程
- 新的结构操作过程
- 说明
- Ruby系统gem + config.rb = Rails2程序gem软件包。
- Ruby系统gem + Gemfile = Rails3程序gem软件包。
- 通过Bundler工具,Rails3以应用层面解决软件包依赖关系。
- Rails3程序的gem软件包,完全可以与Ruby运行环境分开来。
- bundle命令是针对Rails程序,而gem命令是针对于Ruby运行环境。
- gem软件包直接可以作为Rails程序的插件。
- 与之相关的最重要文件是$RAILS_ROOT/Gemfile。
- 参考资料
- http://lindsaar.net/2010/2/6/bundle_me_some_rails http://lindsaar.net/2010/2/6/bundle_me_some_rails
- http://yehudakatz.com/2010/02/09/using-bundler-in-real-life/ http://yehudakatz.com/2010/02/09/using-bundler-in-real-life/
- http://gembundler.com/ http://gembundler.com/
- 系列全部内容
- Rails3世界:安装Ruby1.8.7(一甲) http://www.lycom.de/past/2010/2/7/2010-02-07-rvm-ruby187/
- Rails3世界:安装Ruby1.9.1(一乙) http://www.lycom.de/past/2010/2/6/2010-02-07-rvm-ruby191/
- Rails3世界:安装Rails3.0pre版本(二) http://www.lycom.de/past/2010/2/8/2010-02-07-rails3-pre/
- Rails3世界:使用软件包管理工具Bundler(三) http://www.lycom.de/past/2010/2/10/2010-02-10-bundler/
- Rails3世界:使用另外的网络服务器Unicorn(四) http://www.lycom.de/past/2010/2/13/2010-02-14-unicorn/
- Rails3世界:使用新的命令rails(五) http://www.lycom.de/past/2010/2/17/2010-02-17-rails-command/
- Rails3世界:使用抽象持久层Arel(六) http://www.lycom.de/past/2010/2/18/2010-02-18-arel/
Ruby世界:Ruby库的发展历程
由Gudao Luo在2010-02-09 at 07:29发表的

- 说明
- RAA和Rubyforge基本上退出了历史舞台。
- Rubyforge全面转向Gemcutter。所有Rubyforge的帐号转移到了Gemcutter网站。
- Github更全面,不仅仅是库服务器。
- Gemcutter更专心,仅仅是gem服务器。Rails3也开始使用它。
- 参考资料
- RAA http://raa.ruby-lang.org/
- Rubyforge http://rubyforge.org/
- Github http://github.com/
- Gemcutter http://gemcutter.org/
- gemcutter: 假如你写了gem打算共享,准备在哪里安家? rubyforge?github?? 还有其他的选择吗? http://chinaonrails.com/topic/view/3255.html
- 还有人惦记RAA的时代吗? http://chinaonrails.com/topic/view/795.html
Rails3世界:安装Rails3.0pre版本(二)
由Gudao Luo在2010-02-08 at 10:14发表的

- 前提条件
- 系统已经安装了Ruby1.8.7版本。Ruby1.9版本还有问题。
- Rails3pre版本问题实在太多,或许改动确实太大!
- 说明
- 参考资料
- http://gist.github.com/290606 http://gist.github.com/290606
- http://tinyurl.com/yf6vkww http://tinyurl.com/yf6vkww
- http://tinyurl.com/yerlbdz http://tinyurl.com/yerlbdz
- 系列全部内容
- Rails3世界:安装Ruby1.8.7(一甲) http://www.lycom.de/past/2010/2/7/2010-02-07-rvm-ruby187/
- Rails3世界:安装Ruby1.9.1(一乙) http://www.lycom.de/past/2010/2/6/2010-02-07-rvm-ruby191/
- Rails3世界:安装Rails3.0pre版本(二) http://www.lycom.de/past/2010/2/8/2010-02-07-rails3-pre/
- Rails3世界:使用软件包管理工具Bundler(三) http://www.lycom.de/past/2010/2/10/2010-02-10-bundler/
- Rails3世界:使用另外的网络服务器Unicorn(四) http://www.lycom.de/past/2010/2/13/2010-02-14-unicorn/
- Rails3世界:使用新的命令rails(五) http://www.lycom.de/past/2010/2/17/2010-02-17-rails-command/
- Rails3世界:使用抽象持久层Arel(六) http://www.lycom.de/past/2010/2/18/2010-02-18-arel/
Rails3世界:安装Ruby1.8.7(一甲)
由Gudao Luo在2010-02-07 at 06:32发表的

- 使用说明
- 前提Mac OSX 10.5.8 + Ruby 1.8.6。
- Rails 3.0版本起将使用Ruby 1.8.7 或者 1.9.1。
- 安装Ruby 1.9.1,请看这里 使用Rails3的第一步安装Ruby1.9.1 http://tinyurl.com/y9r44gc。
- 推荐产品运行环境使用Ruby 1.8.7。
- 推荐学习运行环境使用Ruby 1.9.2。
- 摘要:“。。。 and Rails 3 will require Ruby 1.8.7 and prefer Ruby 1.9.2. ”
- 操作说明
- 参考资料
- How to Install RVM and Rails 3 on Snow Leopard http://tinyurl.com/ycdzfom
- Getting Rails 3 Beta Setup http://tinyurl.com/yeehgvc
- 系列全部内容
- Rails3世界:安装Ruby1.8.7(一甲) http://www.lycom.de/past/2010/2/7/2010-02-07-rvm-ruby187/
- Rails3世界:安装Ruby1.9.1(一乙) http://www.lycom.de/past/2010/2/6/2010-02-07-rvm-ruby191/
- Rails3世界:安装Rails3.0pre版本(二) http://www.lycom.de/past/2010/2/8/2010-02-07-rails3-pre/
- Rails3世界:使用软件包管理工具Bundler(三) http://www.lycom.de/past/2010/2/10/2010-02-10-bundler/
- Rails3世界:使用另外的网络服务器Unicorn(四) http://www.lycom.de/past/2010/2/13/2010-02-14-unicorn/
- Rails3世界:使用新的命令rails(五) http://www.lycom.de/past/2010/2/17/2010-02-17-rails-command/
- Rails3世界:使用抽象持久层Arel(六) http://www.lycom.de/past/2010/2/18/2010-02-18-arel/
Rails3世界:安装Ruby1.9.1(一乙)
由Gudao Luo在2010-02-06 at 08:41发表的

- 使用说明
- 前提Mac OSX 10.5.8 + Ruby 1.8.6。
- Rails 3.0版本起将使用Ruby 1.8.7 或者 1.9.1。Rails 3.0 Beta版本问题比较多!
- 安装Ruby 1.8.7,请看这里, 使用Rails3的第一步安装Ruby1.8.7 http://tinyurl.com/ydc32vb。
- 推荐产品运行环境使用Ruby 1.8.7。
- 推荐学习运行环境使用Ruby 1.9.2。
- 摘要:“。。。 and Rails 3 will require Ruby 1.8.7 and prefer Ruby 1.9.2. ”
- 操作说明
- 参考资料
- http://rvm.beginrescueend.com http://rvm.beginrescueend.com
- 系列全部内容
- Rails3世界:安装Ruby1.8.7(一甲) http://www.lycom.de/past/2010/2/7/2010-02-07-rvm-ruby187/
- Rails3世界:安装Ruby1.9.1(一乙) http://www.lycom.de/past/2010/2/6/2010-02-07-rvm-ruby191/
- Rails3世界:安装Rails3.0pre版本(二) http://www.lycom.de/past/2010/2/8/2010-02-07-rails3-pre/
- Rails3世界:使用软件包管理工具Bundler(三) http://www.lycom.de/past/2010/2/10/2010-02-10-bundler/
- Rails3世界:使用另外的网络服务器Unicorn(四) http://www.lycom.de/past/2010/2/13/2010-02-14-unicorn/
- Rails3世界:使用新的命令rails(五) http://www.lycom.de/past/2010/2/17/2010-02-17-rails-command/
- Rails3世界:使用抽象持久层Arel(六) http://www.lycom.de/past/2010/2/18/2010-02-18-arel/
Apple世界:不一样的命令终端DTerm
由Gudao Luo在2010-02-05 at 20:42发表的
- 安装软件
- $ curl -O http://www.decimus.net/files/DTerm.zip && unzip DTerm.zip && mv DTerm.app /Applications/ && rm DTerm.zip
- 启动软件
- $ open /Applications/DTerm.app
- 使用软件
- Shift+cmd+Enter
- 输入命令,如ls
- 参考资料
- http://www.decimus.net/ http://www.decimus.net/
- http://chinaonrails.com/topic/view/2840.html http://chinaonrails.com/topic/view/2840.html 谢谢大力!
Ruby世界:不一样的学习Ruby教程
由Gudao Luo在2010-02-04 at 19:29发表的

- 下载学习代码
- git clone git://github.com/edgecase/ruby_koans.git
- 如何研究所下载的学习代码
- 方法一:从头起研究
- cd ruby_koans
- rake
- 在这个命令执行以后,就看到有测试代码错误。这个正是我们需要学习和研究的内容。
- vim koans/about_asserts.rb
- 修改所要求的提示信息,或者代码中有两个下横杆的内容。
- rake
- 进一步学习下一个函数的内容。每一个函数上都有相关的重要学习内容说明。
- 方法二:选择性研究
- cd ruby_koans/koans
- rake about_arrays.rb
- vim about_arrays.rb
- rake about_arrays.rb
- cd ruby_koans/koans
- 方法一:从头起研究
- 参考资料
- http://github.com/edgecase/ruby_koans
- http://chinaonrails.com/topic/view/2649.html http://chinaonrails.com/topic/view/2649.html 谢谢大力!
Apple世界:字典软件与浏览器Safari
由Gudao Luo在2010-02-03 at 10:25发表的
- 说明
- 打开字典软件
- open Dictionary.app
- 选择浏览器Safari的单词
- open -a /Applications/Safari.app/ “http://www.google.com”
- 选择需要查询的单词
- 按下面组合键
- Ctrl + Command + D 或者这样写
- ^+cmd+D
- 打开字典软件
Rails误解一百例:命令“rake gems:install”
由Gudao Luo在2010-02-01 at 10:42发表的
Rails世界:发布Rails 2.3.5版本的Rails插件ActiveFPDF
由Gudao Luo在2010-01-31 at 19:21发表的

- 参考资料
- undefined method `call’ for LiquidView:Class http://groups.google.com/group/liquid-templates/msg/b58ebd9b358e4672
- PDF::Writer and Ruby on Rails 2.2.2 http://info.michael-simons.eu/2008/11/24/pdfwriter-and-ruby-on-rails-222/
- PATCHED to work with Rails 2.2.2 and Liquid Gem 1.9.0
http://pastie.org/365287
代码世界:灰色对象、灰色操作、灰色关联和灰色。。。
由Gudao Luo在2010-01-28 at 20:57发表的

- 参考资料
- What’s New in Edge Rails: Dirty Objects http://ryandaigle.com/articles/2008/3/31/what-s-new-in-edge-rails-dirty-objects
- Introducing the Dirty Associations Plugin http://opensource.sha.cornell.edu/blog/2010/01/25/introducing-the-dirty-associations-plugin/
- Dirty Associations插件首页 http://github.com/daphonz/dirty_associations
- 专业名称翻译
- 灰色对象(Dirty Objects)、灰色操作(Dirty Operations)、灰色关联(Dirty Associations)和灰色(Dirty)。。。
网上精品:编辑器Vim最好的快捷图
由Gudao Luo在2010-01-27 at 20:19发表的
软件包世界:最新IBM DB2 gem驱动软件包
由Gudao Luo在2010-01-26 at 22:20发表的

- ibm db2 for mac osx
- IBM DB2下载 http://www.ibm.com/developerworks/cn/downloads/im/udbexp/
- Install DB2 on Mac OS X and give us feedback http://antoniocangiano.com/2009/01/20/installing-db2-on-mac-os-x/
- How to install DB2 Express-C 9 on Mac OS X in about 10 minutes http://nunoveloso.eu/blog/2009/03/07/how-install-db2-express-c-9-mac-os-x-about-10-minutes
- Screencast on how to install DB2 Express-C on Mac OS X http://antoniocangiano.com/2009/04/27/screencast-on-how-to-install-db2-express-c-on-mac-os-x/
- ibm db2 gem for ruby
- ibm db2 gem 下载 http://rubyforge.org/frs/?group_id=2361
- Improve the security and performance of DB2 Ruby on Rails applications using parameterized queries http://www.ibm.com/developerworks/data/library/techarticle/dm-1001db2rubyonrailsapps/
- Install the DB2 IBM_DB Gem for Ruby on OS X https://wikihub.berkeley.edu/display/istas/Install+the+DB2+IBM_DB+Gem+for+Ruby+on+OS+X
- IBM_DB_Adapter README http://rubyibm.rubyforge.org/svn/trunk/IBM_DB_Adapter/ibm_db/README
- Using DB2 with Rails http://wiki.rubyonrails.org/database-support/db2
网络图书世界:《Ruby on Rails Web Mashup Projects》
由Gudao Luo在2010-01-25 at 07:20发表的
命令世界:在帮助信息中Rails命令没有说明的使用方法
由Gudao Luo在2010-01-24 at 03:48发表的


- 为什么我们需要这样的命令?
- Showing_SQL_statements_in_the_Rails_console
- ab rails 2.2.2
- 参考资料
- http://stackoverflow.com/questions/379141/specifying-rails-version-to-use-when-creating-a-new-application
- http://craiccomputing.blogspot.com/2008/06/using-older-versions-of-rails.html
- http://bbs.chinaonrails.com/topic/view/1994.html
- http://ruby.geraldbauer.ca/rails-downgrade.html
- http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/6a7883e4d67e5606
- http://guides.rubyonrails.org/command_line.html
网上精品:《通向Rails3:入门》
由Gudao Luo在2010-01-23 at 23:58发表的
网站推荐:Ruby和Rails社区最新新闻
由Gudao Luo在2010-01-21 at 00:08发表的

- 推荐说明
- ruby5.envylabs.com 发表的信息都是很有目光的。
Mac世界:在Mac上,如何删除自动启动软件或者驱动程序?
由Gudao Luo在2010-01-20 at 21:20发表的
软件世界:2009年MacOS的浏览器回顾
由Gudao Luo在2010-01-15 at 08:39发表的

- Mac OS X免费浏览器大全
- http://caminobrowser.org/
- http://www.omnigroup.com/applications/omniweb/
- http://www.flock.com/
- http://www.stainlessapp.com/
- http://www.seamonkey-project.org/
- http://www.apple.com/safari/ 推荐
- http://www.google.com/chrome?platform=mac 推荐
- http://www.opera.com/
- http://shiira.jp/en
- http://www.sunrisebrowser.com/
- http://fluidapp.com/ 推荐
- http://www.icab.de/
- http://lynx.isc.org/
- http://habilis.net/lynxlet/
- http://elinks.or.cz/
- http://www.tildesoft.com/Programs.html
- http://www.pure-mac.com/webb.html
Ruby世界:2009年Rails框架企业管理开源软件
由Gudao Luo在2010-01-08 at 17:03发表的

- Rails框架企业管理开源软件
- 2009年最佳企业事务管理软件Tracks http://www.getontracks.org/
- 软件项目管理软件Redmin http://www.redmine.org/
- 电子商务软件Spree http://spreecommerce.com/
- RailsERP ERP软件 http://www.railserp.com
- 网络邮件管理软件Mailr http://mailr.org/
- 企业文件管理系统Boxroom http://boxroom.rubyforge.org/
- 2009年最佳论坛管理软件El Dorado http://github.com/trevorturk/eldorado
- 论坛管理软件Beast http://svn.techno-weenie.net/projects/beast/trunk/
Ruby世界:2009年最佳Rails内容管理软件
由Gudao Luo在2010-01-07 at 23:35发表的

- 内容管理软件CMS
- Seed http://seed.mediacollectiveslice.com/
- Railscasts http://github.com/ryanb/railscasts
- Refinery http://refinerycms.com/ (2009年最佳Rails内容管理软件)
- Browsercms http://www.browsercms.org/
- Instiki http://instiki.org/show/HomePage
- Simplelog http://simplelog.net/
Ruby世界:2009年代码段网站
由Gudao Luo在2010-01-06 at 22:53发表的
Ruby世界:2009年Ruby视频聚合网站
由Gudao Luo在2010-01-05 at 22:40发表的
Ruby语言:2009年聚合新闻网站
由Gudao Luo在2010-01-04 at 23:04发表的

- 参考资料
- “http://rubyreflector.com/”http://rubyreflector.com/
- http://www.reddit.com/r/ruby/
- http://www.reddit.com/r/rails/
- http://www.dzone.com/links/tag/ruby.html
- http://rubycorner.com/
- Google Blog News
Ruby世界:2009年项目开发及其文档API网站
由Gudao Luo在2010-01-03 at 23:23发表的

- 参考资料
- https://github.com/ 软件项目代码服务器
- http://gemcutter.org/ 软件包服务器
- http://rdoc.info/ 软件代码文档服务器
- http://runcoderun.com/ 项目持续集成服务器
- http://www.ruby-toolbox.com/ 软件开发工具网站
- http://www.opensourcerails.com/ 项目展示平台网站
Ruby世界:2009年博客网站回顾
由Gudao Luo在2010-01-02 at 00:48发表的

- 说明
- http://www.igvita.com/
- 内容有深度,文章新颖而广泛,网站漂亮
-——————————————————- http://eigenclass.org/hiki/Ruby
- 内容有深度,关注Ruby和代码分析
-——————————————————- http://yehudakatz.com/
- "":http://ryandaigle.com/
- Rails框架核心成员,特别关注Rails最新技术
-——————————————————- http://robots.thoughtbot.com/
- thoughtbot公司博客,注重技术发展趋势
-——————————————————- http://themomorohoax.com/
- http://drnicwilliams.com/
- 关心程序的代码技术
-——————————————————- http://weblog.rubyonrails.org/
- Rails框架网站博客,发布Rails最新信息
-——————————————————- http://www.infoq.com/ruby/
- http://www.infoq.com/cn/ruby/
- IT行业综合新闻网站,特别关注Ruby最新技术发展
-——————————————————- http://www.rubyinside.com/
- http://www.railsinside.com/
- 及时报道Ruby和Rails及其相关发展,值得推荐
-——————————————————- http://railstips.org/
- Ruby语言相关最新技术信息
-——————————————————- http://asciicasts.com/
- 视频网站http://www.railscasts.com/的文字版本
天天红玉世界:祝大家2010新年愉快!
由Gudao Luo在2010-01-01 at 22:03发表的
Rails框架:终端应用程序的微型视图框架Hirb
由Gudao Luo在2009-12-16 at 18:19发表的

- 创建Rails程序实例演示命令清单
- 使用hirb演示实例
- 最重要的参考资料:
- http://github.com/cldwalker/hirb
- http://tagaholic.me/hirb/
- http://github.com/jeremymcanally/rails-templates
- http://railscasts.com/episodes/148-app-templates-in-rails-2-3
- http://m.onkey.org/2008/12/4/rails-templates
- 参考资料:
- http://www.ozmox.com/2009/11/01/enjoy-working-with-models-using-hirb/
- http://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html
- http://github.com/BJClark/rails-templates/blob/d8889e1c771847f75641503e478c130e959e1686/scidept.rb
- http://www.geekskillz.com/articles/11
- http://tagaholic.me/2010/02/16/two-dimensional-console-menus-with-hirb.html http://tagaholic.me/2010/02/16/two-dimensional-console-menus-with-hirb.html
Rails框架:Ruby1.9+Rails3.0时代即将来到
由Gudao Luo在2009-12-12 at 14:50发表的

David Heinemeier Hansson (37signals), “Rails 3 …and the real secret to high productivity”
- 第一步:创建安装目录命令
- 第二步:针对Mac OSX 10.5的安装Readline(可选)命令
- 第三步:针对Mac OSX 10.5的安装Ruby1.9.1命令
- 第四步:在现有系统上增加切换到Ruby1.9.1方法
- 如果想要使用ruby1.9.1版本,那么每一次打开终端都需要使用命令ruby19ify,才能够切换到ruby1.9.1上面去。默认系统ruby还是当前所使用的版本。
- 第五步:针对Mac OSX 10.5的安装Rake等命令
- 第六步:安装Rails 3.0 pre命令
- 第七步:检查安装软件版本命令(可选)
- 第八步:创建Rails应用程序
- 最重要参考资料
- http://medevyoujane.com/blog/2009/12/17/edging-your-way-towards-ruby-191-and-rails-30pre.html?lastPage=true#comment6623823
- http://wonko.com/post/how-to-compile-ruby-191
- http://cardarella.blogspot.com/2009/04/ruby-18-and-19-living-together-on-mac.html
- http://oscardelben.com/articles/2009/12/06/how-to-test-rails-3.html
- 参考资料
- http://ftp.gnu.org/gnu/readline/
- http://www.macosxhints.com/article.php?story=20090731080242407
- http://www.slideshare.net/arrrrcamp/ruby-19-and-rails-30
- http://www.ruby-lang.org/en/downloads/
- http://www.tommycampbell.net/2009/06/26/ruby-1-9-on-mac-os-x
- http://blog.futureshock-ed.com/2009/06/installing-ruby-19-on-mac-os-x-105.html
- http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/13cd5dec18dfd859
- http://www.tommycampbell.net/2009/06/26/ruby-1-9-on-mac-os-x
- http://www.macosxhints.com/article.php?story=20090731080242407
- http://www.idg.co.kr/people/blog/view.do?paramDomain=mimul&postId=230195
- http://blog.vinceliu.com/2009/11/compiling-ruby-19-from-scratch-for-mac.html
- http://sdruby.org/video/075_rails3.m4v
- http://lindsaar.net/2008/1/18/installing-ruby-1-9-on-mac-osx
- http://www.slideshare.net/bradly/ruby-19-introduction?src=related_normal&rel=2537131
Apple世界:适用于苹果机的谷歌浏览器终于上线了!
由Gudao Luo在2009-12-08 at 21:44发表的
Apple世界:Mac OS X v10.6对基于AppleTalk的打印机说:再见!
由Gudao Luo在2009-12-05 at 23:45发表的


- 图片说明:
- Kyocera FS-1350DN 打印机的默认设置是基于 AppleTalk协议 的。为了使Mac OS X v10.6能够使用该打印机,就需要修改该打印机的默认协议,上图是设置打开 Bonjour协议 ,而下图设置关闭AppleTalk协议。这样,Mac OS X v10.6电脑就可以自动发现该网络打印机:Kyocera FS-1350DN, 其显示名称为KM452D6F。
Ruby世界:静态Web软件框架nanoc
由Gudao Luo在2009-09-20 at 18:37发表的
Ruby代码世界:Array排序代码实例
由Gudao Luo在2009-09-06 at 10:33发表的
Apple世界:Apple操作系统Snow Leopard的新功能视频(德文)
由Gudao Luo在2009-09-04 at 20:24发表的

- 说明:
- Apple操作系统Snow Leopard的新功能视频(德語)
- 一个新操作系统的出现,肯定会出现这样那样的问题。这一次Snow Leopard也不例外,可能问题还不少。这是可以理解的,想要完成一个兼顾32位系统的64位操作系统,的确不是一件容易的事情。新操作系统刚一开始肯定不能马上在企业或者自己工作的电脑上投入使用,一定要观望一段时间。
JQuery插件世界:动态选择框asmSelect最佳解决方案
由Gudao Luo在2009-08-09 at 14:57发表的
《Rails框架九十九例丛书 : 框架功能》-- Rails ActiveMailer系列
由Gudao Luo在2009-08-08 at 10:43发表的

- 说明
- 致谢:非常感谢王大力、冯侃、Donner So和姜伟等朋友的大力支持
- 论坛:http://groups.google.com/group/cnrails (需要注册)
- Rails框架九十九例丛书:框架功能(发送邮件完整版本)
Rails世界:源代码分析工具Excellent
由Gudao Luo在2009-08-06 at 21:05发表的
Apple世界:苹果下一版操作系统 Mac OS X 10.6 "Snow Leopard"
由Gudao Luo在2009-08-05 at 21:29发表的

- 说明
- 苹果”雪豹”(Snow Leopard)将于2009年9月发布,售价29美元。这是在Mac OS X Leopard基础上的更新版本价格,含有一个授权码=29美元。
- 苹果”雪豹”(Snow Leopard)将仅仅运行于基于intel的苹果电脑(Mac OS X Snow Leopard requires an Intel-based Mac.)
- 苹果”雪豹”(Snow Leopard)产品现在仅仅可以预定。
- 苹果”雪豹”是一款完整的64位操作系统,最大支持16TB内存。
- 苹果”雪豹”简化了开发者对多核心处理器进行编程的过程。
- 苹果”雪豹” 所有的核心软件皆为 64位。
- 苹果”雪豹” 新增中文触摸手写识别功能。
Rails世界:最好Rails网络入门教程
由Gudao Luo在2009-08-04 at 22:59发表的
第一例:基于SMTP方式的Rails软件
由Gudao Luo在2009-08-03 at 20:50发表的
Rails框架九十九例丛书:——框架功能

- 说明
- 请看:
http://hhtong.com/news/2008/12/23/rails——rails-activemailer/
或者
http://www.lycom.de/past/2009/8/8/rails99-2009-08-08/ 本书内容正在让朋友审核阅读。等到他们完成以后马上发布。你想马上阅读吗?只要发个邮件给我:gudao.luo@gmail.com ,只要在邮件标题上复制“第一例:基于SMTP方式的Rails软件”,就可以了,其它什么也不要写。但是我有一个小小的愿望,请你给我提你的意见,无论是技术上还是文字上都可以。不要忘记了!
- 请看:
Rails视频世界:利用苹果工具Xcode开发Rails软件
由Gudao Luo在2009-08-01 at 18:30发表的
- 说明
- 工具Xcode的安装目录:
/Developer/Applications/Xcode.app - 视频链接
- 工具Xcode的安装目录:
Rails开发世界:推荐Rails框架API网站
由Gudao Luo在2009-07-14 at 12:56发表的
Google世界:通过关键词bd7lx搜索Ruby信息
由Gudao Luo在2009-07-13 at 06:51发表的
技巧命令: 查询自己所需要的rake命令信息
由Gudao Luo在2009-07-12 at 08:00发表的
代码世界:Ruby/Rails反射技术实例
由Gudao Luo在2009-07-11 at 06:51发表的

- 使用正常类方法代码
@blogs = Blog.find(:all)- 使用反射技术代码(Ruby语言)
@blogs = Kernel.const_get("Blog").send(:find, :all)
@blogs = Object.const_get("Blog").send(:find, :all)
@blogs = Kernel.eval("Blog").send(:find, :all)- 使用反射技术代码(类名称包含”::”)(Ruby语言)
Model = "ActiveRecord::Base".split('::').inject(Object) do |base,item|
base.const_get(item)
end
class Blog < Model; end- 使用反射技术代码(Rails框架)
@blogs = "Blog".classify.constantize.send(:find, :all)
Rails技术系列:使用命令script/runner实现输出文件csv
由Gudao Luo在2009-07-10 at 21:05发表的


具体实现步骤
- 安装Rails框架插件fastercsv
sudo gem install fastercsv
- 创建Rails应用软件
rails demo && cd demo
ruby script/generate scaffold post title:string body:text published:boolean
rake db:migrate && rake db:fixtures:load
- 实现输出文件csv代码
vim lib/export_csv.rb
- 运行输出文件csv的代码
script/runner lib/export_csv.rb
- 查看导入数据库数据
cat cat test/fixtures/posts.yml
- 使用终端查看导出文件csv数据
cat posts.csv
- 使用OpenOffcie查看导出文件csv数据
open posts.csv
Rails参考资料:迁移类型及其限制值/默认值
由Gudao Luo在2009-07-09 at 18:45发表的
| 迁移类型 | MySQL类型 | 限制值/默认值 |
|---|---|---|
| :binary | TINYBLOB, BLOB, MEDIUMBLOB, or LONGBLOB2 | :limit => 1 to 4294967296 ( default = 65536 ) |
| :boolean | TINYINT | – |
| :date | DATE | – |
| :datetime | DATETIME | – |
| :decimal | DECIMAL | :precision => 1 to 63 (default = 10) :scale => 0 to 30 (default = 0)3 |
| :float | FLOAT | – |
| :integer | INT | :limit => 1 to 11 (default = 11) |
| :primary_key | INTAUTO_INCREMENT PRIMARY KEY | – |
| :string | VARCHAR | :limit => 1 to 255 (default = 255) |
| :text | TINYTEXT, TEXT, MEDIUMTEXT, or LONGTEXT2 | :limit => 1 to 4294967296Bytes ( default = 65536Bytes ) |
| :time | TIME | – |
| :timestamp | DATETIME | – |
网络图书:《冒号课堂》,又名《冒号和他的学生们》
由Gudao Luo在2009-07-08 at 20:10发表的
网站推荐:英文免费电子Rails杂志《Rails Magazine》
由Gudao Luo在2009-07-07 at 09:39发表的
操作系统:全新移动互联网设备操作系统Moblin
由Gudao Luo在2009-06-19 at 21:05发表的
Ruby on X系列:Ruby on Cron工具whenever
由Gudao Luo在2009-06-18 at 19:04发表的
网站推荐:一个在线存储,同步,分享服务网站
由Gudao Luo在2009-06-17 at 19:49发表的

- 致谢hideto的推荐,《Web开发大全:Ruby on Rails版》 作者之一
软件工具世界:《Git 魔法》
由Gudao Luo在2009-04-28 at 20:23发表的
- 感谢《Git 魔法》作者和译者!
- 感谢bd7lx所提供的链接!
Rails框架世界:工具Cucumber版本兼容问题
由Gudao Luo在2009-04-15 at 13:08发表的

- 说明
- Cucumber版本组合:
- Cucumber 0.2.3 + rspec 1.1.11 + rspec 1.2.4
- 出现问题:
- “can’t activate rspec (= 1.1.11, runtime), already activated rspec-1.2.4 (Gem::Exception)”
- 解决办法:
- 更新至Cucumber版本0.3.0
- 更新至Cucumber版本0.3.0新问题(代码还是版本Cucumber 0.2.3):
- “you can only pass a proc to #World once, but it’s happening (Cucumber::MultipleWorld)”
- 进一步解决办法:
- 在文件$RAILS_ROOT/features/support/paths.rb中,
把下面代码:
World do |world|
world.extend NavigationHelpers
world
end
修改为:
World(NavigationHelpers)
- 在文件$RAILS_ROOT/features/support/paths.rb中,
- Cucumber版本组合:
- 提示:
- 不要期望(或者说按照错误提示的说明)删除同一程序的旧版本,就能够解决所出现的问题。尽管这是一种方法,但是有时候可能会带来更多的问题。
- 参考资料
- Install Cucumber, Webrat and RSpec
- Cucumber 0.3.0源代码文件(第179行):/Library/Ruby/Gems/1.8/gems/cucumber-0.3.0/lib/cucumber/step_mother.rb
终端命令世界:使用命令grep实例
由Gudao Luo在2009-04-14 at 19:40发表的
Rails框架世界:如何正确设定Rails产品配置文件
由Gudao Luo在2009-04-13 at 09:23发表的
Rails框架世界:苹果系统风格的消息提示Growl4Rails
由Gudao Luo在2009-04-12 at 08:49发表的
- 参考资料
JRuby世界:QCon 北京 2009 演讲稿下载
由Gudao Luo在2009-04-10 at 20:31发表的
Rails框架工具:支持Ruby语言的持续集成(CI)服务
由Gudao Luo在2009-04-09 at 21:25发表的
Ruby代码世界:UNIX时间将抵达1234567890秒
由Gudao Luo在2009-02-14 at 00:31发表的
- 参考资料
Rails实例世界(No 4):REST_in_Place on Rails编辑器
由Gudao Luo在2009-02-11 at 21:34发表的
Apple/Ruby世界:Ruby和Rails技术词典
由Gudao Luo在2009-02-10 at 03:56发表的

- 安装方法
- wegt http://www.priithaamer.com/files/Ruby.dictionary.zip
- unzip Ruby.dictionary.zip
- mv Ruby.dictionary ~/Library/Dictionaries
或者
mv Ruby.dictionary /Library/Dictionaries
- 配置方法
- open /Applications/Dictionary.app
- 菜单 >> 设置偏好 >> 把Ruby技术词典移到最上面
- 使用方法一
- Apple键+Space >> 例如搜索函数”exists?” >> 点击“定义”>> 即会出现上图。
- 使用方法二
- Apple + Control + D >> 弹出窗口 (in TextMate or Safari, iChat, Mail etc.) >> 点击“定义”>> 即会出现上图。
Apple世界:一场官司是否决定Mac的命运?
由Gudao Luo在2009-02-09 at 20:17发表的
Rails世界:CnRails成员超过500人
由Gudao Luo在2009-02-07 at 10:26发表的
Ruby/Rails世界:《什么是Ruby和Rails》演讲稿
由Gudao Luo在2009-01-28 at 18:57发表的
非常感谢过去一年大家的关心!
由Gudao Luo在2009-01-26 at 00:00发表的
Rails世界:Rails 2.3版本重要功能(应用软件生成器Rails Templates)
由Gudao Luo在2009-01-25 at 18:00发表的
- 什么是Rails Templates
- Rails Templates记录软件开发过程的所有命令。
- 利用什么方法记录Rails Templates?
- Ruby语言文件
- Rails Templates文件存放在哪里
- 从理论上说,任何地方;在实际中,应该存放在服务器上。
- 利用Rails Templates方法,如何开发Rails项目
- 三个步骤:(1)>= Rails 2.3,在今天Rails 2.3正式版本尚未发布之前,可以使用上面命令一方法获取它,或者参见:如何获取Rails当前开发版本(Rails Edge Version)? ;(2) 创建Rails Template文件,该文件的实例代码,如上面代码所示;(3)利用命令“rails -m [Rails Template位置及其文件名称]”,如上面二所示。
- 参考资料
- http://ryandaigle.com/articles/2008/12/11/what-s-new-in-edge-rails-application-generators
- http://ramblingsonrails.com/how-to-use-the-new-templates-in-rails
- http://github.com/imajes/rails-template/tree/master
- Rails Templates实例代码
- http://gist.github.com/33337
- Rails Templates实例代码
- http://m.onkey.org/2008/12/4/rails-templates
- 说明Rails Templates最重要的文章
- http://www.rubyinside.com/rubys-top-hitter-in-2008-jeremy-mcanally-1404.html
- http://www.railsinside.com/tips/212-rails-templates-pumped-full-of-caffeine.html
- http://github.com/rails/rails/commit/e8cc4b116c460c524961a07da92da3f323854c15
- http://ariejan.net/2009/01/04/how-to-start-a-rails-edge-app-the-easy-way/
Rails世界:如何获取Rails当前开发版本(Rails Edge Version)?
由Gudao Luo在2009-01-24 at 12:31发表的
Ruby代码世界:尽可能使用Ruby语言方法”<<“
由Gudao Luo在2009-01-19 at 09:50发表的

- 说明
- 下面第一段代码使用了变量“i”。在Ruby代码中,基本上不需要使用这种变量,即使需要也可以使用“each_with_index”。而第一段代码连这种需要也没有。
- 下面第二段代码是使用方法“<<”改进后代码清单。注意使用这种方法时,一定要清楚方法“<<”之后的对象是什么。在Rails 2.2.2版本中因为使用此方法不当,产生了错误。参见: Rails2.2世界:国际化功能问与答(二) 。
网站推荐:Ruby语言项目大世界
由Gudao Luo在2009-01-19 at 00:37发表的
Rails技巧系列:你使用过script/runner吗?
由Gudao Luo在2009-01-18 at 15:30发表的

- 说明
- Rails命令script/runner可以执行Rails软件Ruby文件或者Ruby代码。
- 结合工具 crontab 可以实现Rails项目的定时任务的执行。
- 参考资料
- Automation With Rails script/runner http://tinyurl.com/99unbm
- Hidden in plain sight: script/runner http://tinyurl.com/ax4kv7
- Running one migration by hand http://tinyurl.com/a3ocsb
Rails技巧系列:代码redirect_to(@object)够用了吗
由Gudao Luo在2009-01-17 at 11:56发表的
Rails世界:Rails框架软件平台 adva cms
由Gudao Luo在2009-01-17 at 00:18发表的

- 说明
- adva cms 是基于Rails框架的开发平台。
- adva cms 最大的特点是所有插件和引擎都存储于目录vendor下,与用户软件彻底分离。
Rails技巧系列:为什么不要使用函数puts?
由Gudao Luo在2009-01-16 at 22:54发表的

- 说明
- 很多人喜欢使用函数puts,获取调试信息。这个问题类似于Java语言人们使用System.out.println(),获取输出内容。一旦使用了函数puts,无法保证网络服务器对于源代码输出信息的顺序!参见上图作了标记的两行输出记录。尽管在上面代码中,函数puts和logger.info是一前一后,但是输出信息的顺序与代码的顺序是不同的。
- 建议放弃使用函数puts,获取输出信息的方法。
- Rails框架已经集成了logger软件包!
- 什么是logger? What is logger?
Apple世界:Google正在走进Mac OS X
由Gudao Luo在2009-01-15 at 20:20发表的
网站推荐:最新技术和产品新闻网站APC
由Gudao Luo在2009-01-12 at 22:15发表的
Ruby/Rails工具世界:创建基于Ruby语言的PDF文件工具Prawn
由Gudao Luo在2009-01-02 at 02:31发表的

- 说明
- 参考资料
- http://github.com/sandal/prawn http://github.com/sandal/prawn
- Ruby Mendicant: Permian Prawn
- Ruby Mendicant: Archaean Prawn
- The Ruby Mendicant Project
- The Ruby Mendicant Project
- Ruby Mendicant: Permian Prawn
- 轻而易举创建PDF打印文档
- Building printable documents doesn’t have to be hard
- Building printable documents doesn’t have to be hard
- Prawn的Rails插件Prawnto首页
- Prawn项目中文实例代码
- Prawn项目首页
- Prawn: The Pure Ruby PDF Generation Library
- 项目Redmin的Prawn代码
- How To Generate PDFs in Rails With Prawn
lycom.de祝愿大家健康和成功的2009年!
由Gudao Luo在2009-01-01 at 00:00发表的
网站世界:设计最好的演讲稿网站parleys.com
由Gudao Luo在2008-12-30 at 09:50发表的
Apple世界:在iPhone上利用软件Stanza阅读电子图书
由Gudao Luo在2008-12-29 at 08:05发表的

- 前提条件
- 在iPhone上软件Stanza安装软件
- 使用方法
- 在Stanza上输入网站地址:http://218.85.74.53/ebooks
- 在Mac/PC上访问iPhone书库网站
- http://feedbooks.com/
- http://www.hifiwiki.net/stanza/library
- http://218.85.74.53/ebooks/index.asp
- 在iPhone上软件Stanza的书库网站
- http://books.blah.me/index.atom
- http://books.80.hk
- http://books.blah.me/books/index.atom
- http://www.hifiwiki.net/stanza
- 参考资料
- http://apple4.us/2008/03/iphone-22.html
- http://groups.google.com/group/blah-library
- http://apple4.us/2008/11/stanza.html
- http://www.someok.com/2008/10/iphone-epub-library.html
- http://toc.oreilly.com/2008/11/experimental-oreilly-ebook-iphone-integration-with-stanza.html
- http://blog.threepress.org/category/epub/
- http://www.ibm.com/developerworks/edu/x-dw-x-epubtut.html
Rails2.2世界:国际化功能问与答(五)
由Gudao Luo在2008-12-28 at 15:02发表的

- 参考资料
- Rails I18N: ActiveRecord对象本地化
- http://groups.google.com/group/rails-i18n/msg/7951160fbac686e3
- http://www.func09.com/wordpress/archives/262
- The Ruby on Rails I18n core api
- Rails i18n: recarregando arquivos de localizações
- Rails Restful Authentication i18n
- New Rails 2.2 i18n defaults
- http://chinaonrails.com/topic/view/1918.html
Ruby/Rails世界:推荐2008年Ruby/Rails网站
由Gudao Luo在2008-12-27 at 07:29发表的
Rails框架世界:Rails 3有哪些传闻
由Gudao Luo在2008-12-26 at 11:30发表的
计算机世界:创造你的计算机程序语言
由Gudao Luo在2008-12-14 at 13:43发表的
Rails2.2世界:国际化功能问与答(四)
由Gudao Luo在2008-12-13 at 10:04发表的
Ruby实例世界:静态网页生成器Jekyll on Thin
由Gudao Luo在2008-12-12 at 03:57发表的
Windows世界:系统优化工具CCleaner下载超过二亿次!
由Gudao Luo在2008-12-11 at 04:57发表的
网站推荐:澳大利亚社区网站
由Gudao Luo在2008-12-10 at 02:37发表的
Apple世界:设置环境变量实例
由Gudao Luo在2008-12-09 at 10:21发表的
Cucumber实例世界:Cucumber on Rails深化实例(四)
由Gudao Luo在2008-12-05 at 08:48发表的
Apple世界:通用即时通讯工具Adiumx
由Gudao Luo在2008-12-04 at 02:51发表的

- 说明
- 通用即时通讯工具Adiumx解决了MSN账号在Apple上的即时通讯问题。
- 另一款通用即时通讯工具Pidgin
- Erste Beta von Adium 1.4 unterstützt IRC und Twitter
图书世界:免费的RJS教程
由Gudao Luo在2008-12-03 at 14:57发表的
网站推荐:获取网络世界知识的快速途径www.yeeyan.com
由Gudao Luo在2008-12-02 at 10:34发表的
Cucumber实例世界:Cucumber on Rails最简单实例(三)
由Gudao Luo在2008-12-01 at 23:09发表的
Rails2.2世界:国际化功能问与答(三)
由Gudao Luo在2008-11-30 at 22:27发表的

警告:在复制本博客代码时,空行存在中文空格,需要删除!!!
- 国际化功能问与答(三):本地化翻译方法
- 如何调用翻译函数?
I18n.translate < key >
如:
I18n.translate :hello
或者
I18n.t :hello - 如何调用具有插值的翻译函数?
I18n.translate < key >, < 插值 >
如:
I18n.translate :hello_with_name, :name=>”Hans” - 如何调用多元化的翻译函数?
I18n.translate < key >, < 多元化变量 >
如:
I18n.translate :second_in_words, :count=>12 - 如何调用具有命名空间的翻译函数?
I18n.translate < 命名空间.key >, < 多元化变量 >
如:
I18n.translate “namespcae.second_in_words”, :count=>2 - 如何调用时间对象的本地化函数?
I18n.localize < 时间对象 >, :format=>< key >
如:
I18n.localize Time.now, :format=>:long
或者
I18n.l Time.now, :format=>:long - 如何调用日期对象的本地化函数?
I18n.localize < 日期对象 >, :format=>< key >
如:
I18n.localize Date.parse(‘2008-11-29’) - 如何调用时间和日期名称的翻译函数?
I18n.translate < 命名空间.key >
如:
I18n.translate(‘date.month_names’)
I18n.translate(‘date.month_names’).last
- 如何调用翻译函数?
- 注
- 在图中的命令sc就是“ruby script/console”命令。
Apple世界:文件chm的阅读器iChm
由Gudao Luo在2008-11-30 at 07:01发表的

- 说明
- 针对Mac OSX上的文件chm阅读器:
iChm
Chmox
Chamanix
CHM Reader - 软件iChm是最新的,而软件Chmox是最最早的
- 上面所示的图使用了软件iChm打开chm文件,但是当你打开该文件mootools_doc_cn_1.chm(链接在下面参考文献中)时,中间的内容会出现中文乱码。
- 乱码原因:在这个软件中使用了两种文本编码UTF-8(中间文字)和GBK(目录文字,注意该文字在图中是乱码)。
- 谁之过?创建chm文件的软件是否应该规定同一文件只能存在一种文本编码?软件iChm是否考虑到能够显示不同的文本编码?创建该文件的制作者应该注意在同一文件中要使用一种文本编码?你以为呢?
- 调整文本编码:菜单 >> 显示 >> 文本编码 >> UTF-8 或者 GBK
- 针对Mac OSX上的文件chm阅读器:
- iChm 安装方法:
- 下载文件:http://ichm.googlecode.com/files/iChm.1.4.0.zip
- 双击文件:iChm.1.4.0.zip
- 移动文件iChm.app到文件夹“应用软件”中
- Chmox 安装方法:
- 下载软件:http://mesh.dl.sourceforge.net/sourceforge/chmox/Chmox-0.3.dmg
- 双击文件Chmox-0.3.dmg
- 移动文件Chmox.app到文件夹“应用软件”中
Cucumber实例世界:Cucumber基本概念实例(二)
由Gudao Luo在2008-11-29 at 20:17发表的

警告:在复制本博客代码时,空行存在中文空格,需要删除!!!
- 除了括号<>的内容之外,在文件features/addition.feature
与
文件features/step_definitons/calculator_steps.rb
之间的陈述句要”基本”保持一致;
如:
features/addition.feature:“我已经在计算器里输入<6>”
features/step_definitons/calculator_steps.rb:“我已经在计算器里输入<$n>” - 在括号<>中,一个是具体值:6,一个是变量$n。
- 这个括号<>是我增加的,不是必须的,目的是要把问题说明清楚;
- 括号<>是为了说明在其里面的内容是可以变化的值;
- 陈述句是随意表达的,只要意思正确就可以了。
- 我们可以把这种表述看作为一个“函数名称”。
- 在陈述句之前的单词是该软件的中文关键词,必须如此。
- 关键词之后的空格是我增加的,不是必须的,目的是要把问题说明清楚;
- 在文件.feature中,Cucumber关键词对应于文件
*_steps.rb的相应关键词
如:
features/addition.feature:“当”
features/step_definitons/calculator_steps.rb:“When” - 文件.feature是应该是仅仅问题的描述
- 文件
*_steps.rb是对问题的描述具体实现
Rails2.2世界:国际化功能问与答(二)
由Gudao Luo在2008-11-28 at 23:50发表的

- 国际化功能问与答(二):用户定义本地化文件
- 注意 ,在下面第二个问题中,Rails 2.2.2的示例代码存在错误,源代码为:“<<”,正确应该是:“+=”。参见: 对于数组的运算符“<<”和“+=”的差异
Cucumber实例世界:Cucumber on Rails基本使用过程(一)
由Gudao Luo在2008-11-28 at 20:17发表的
代码世界:对于数组的运算符“<<”和“+=”的差异
由Gudao Luo在2008-11-27 at 21:53发表的
Rails实例世界(No 3):关于Textile的可视化编辑插件textile_toolbar
由Gudao Luo在2008-11-27 at 11:23发表的
代码世界:逆向循环语句
由Gudao Luo在2008-11-27 at 09:58发表的
- 说明
- 在下面资料的逆向循环语句中,do前面多了一个点。
- 参考资料
- http://www.railsrocket.com/articles/looping-backwards-in-ruby
Rails框架:最有前途的代码测试工具Cucumber
由Gudao Luo在2008-11-26 at 22:40发表的

- 说明
- Cucumber是跨计算机语言的代码测试工具
- Cucumber是使用本地化语言的代码测试工具
- Cucumber是集成多种测试工具于一体的工具
- Cucumber彻底分离测试描述(文字工作者)与描述实现(软件工作者)
- Cucumber更加人性化,更加语言化,更加简单化
- 评论
- Cucumber makes me so happy. —Dr Nic
- 参考资料
- 代码测试工具Cucumber首页
- Cucumber工具开发者
- Cucumber工具相关项目
- Cucumber: Next Generation Ruby BDD tool
- Cucumber: 黄瓜将成为下一代的Ruby BDD工具
- Ruby on Rails(Cucumber Wiki)
- Cucumber(黄瓜)
- Behavior Driven Development with Cucumber
- Using Cucumber for Writing Stories for Command-Line Applications
- Writing a Story: why, when, where, who, what, how and a bunch of other questions and answers
- Using RSpec, Cucumber and User stories to build our internal systems
- Cucumber: The Latest in Ruby Testing
- Story Driven Development Recipes with Cucumber
- Cucumber(中文语言描述)基础讲座系列
Rails2.2世界:国际化功能问与答(一)
由Gudao Luo在2008-11-26 at 06:02发表的
Rails世界:Ruby on Rails 2.2版本相关资料
由Gudao Luo在2008-11-25 at 15:41发表的

- 重要参考资料
- Rails 2.2: i18n, HTTP validators, thread safety, JRuby/1.9 compatibility, docs
- Ruby on Rails 2.2 Release Notes
- Rails 2.2已经正式发布!
- What’s New in Edge Rails: Rails 2.2 Released – Summary of Features 4
- Demo application to show Rails’ new i18n features
- Rails 2.2 For Me And For You
- Rails 2.2 Released – 27 Links and Resources To Get You Going
- Localizing Rails : Demo application
- Rails2.2 发布 - 27个链接和资源带你出发
- Rails 2.2版本不再推荐使用的功能
- 专题资料
Apple世界:终于有了合适的中文输入法Fun Input Toy
由Gudao Luo在2008-11-24 at 14:33发表的

- 安装说明
- 下载: http://fit.coollittlethings.com/down.php?v=1.9.3_intel
- 解压文件即双击该文件: FunInputToy_v1.9.3_intel.zip
- 双击文件: FunInputToy_v1.9.3_intel.pkg
- 自动重新启动计算机
- 系统偏好设置 >> 多语言环境 >> 输入法菜单 >> 如上图所示
- 参考资料
- FIT发布实验版 http://fit.coollittlethings.com/?p=112
- 下载首页 http://fit.coollittlethings.com/?p=3
- 删除苹果电脑FIT输入法错误自动记忆词组的方法
- 致谢
- 非常感谢 kyle 所提供的信息.
软件世界:消息队列(Messaging Queue)与Ruby语言和Rails框架
由Gudao Luo在2008-11-23 at 10:46发表的

- 什么是消息队列(Messaging Queue)
- 有哪些队列服务器(Queue Server)软件
- 同步与异步概念
- HTTP是同步的,Queue是异步的,但是目的是一样的
- http://en.wikipedia.org/wiki/Message_Queue
- 服务器与客户端概念
- 在HTTP概念中,存在浏览器(Client)与网络服务器(Server);
- 在Queue概念中,也存在客户端软件与服务器软件概念;
- 如何在Ruby和Rails中使用基于Beanstalk的消息队列(Messaging Queue)
- Beanstalk Messaging Queue http://tinyurl.com/24zfv7
- Ruby Beanstalkd distributed worker basics http://tinyurl.com/5nehld
- Ruby Beanstalkd distributed worker intermediate lessons http://tinyurl.com/6hz6p3
- http://async-observer.rubyforge.org/
- 参考资料
- https://computing.llnl.gov/tutorials/parallel_comp/
苹果世界:最受欢迎的RSS阅读器NewsGator
由Gudao Luo在2008-11-22 at 22:18发表的

- 安装说明
- 点击链接: http://tinyurl.com/6g8nd9
- 把下载的文件NetNewsWire.app移到应用软件目录下
- 点击该文件NetNewsWire.app,就可以启动该软件
- 注册一下用户
- 在所有的Mac OS X机器上,只要有该软件并且有相同的用户,相互间就可以同步本地RSS信息。
网站推荐:Ruby和Rails书籍有多少?
由Gudao Luo在2008-11-21 at 21:55发表的
- 相关链接
- Ruby和Rails应用软件有多少? http://www.railsforall.org/apps
- Ruby和Rails资料有多少? http://www.railsforall.org/resources
Rails世界:Ruby软件包和Rails插件的使用趋势
由Gudao Luo在2008-11-20 at 06:05发表的
Rails实例世界(No 2):很有前途的JavaScript框架Mootools
由Gudao Luo在2008-11-19 at 08:30发表的

- 参考资料
- Mootools首页 http://mootools.net
- Mootools on Rails插件
- MooTools Plays Well With Rails http://tinyurl.com/6pl8ql
- Mootools插件Accordion
- Increasing User Experience With Javascript http://tinyurl.com/5ed8tf
苹果工具世界: 文件rar的压缩工具 UnRarX
由Gudao Luo在2008-11-18 at 03:33发表的

- 安装说明
- 下载文件:http://www.unrarx.com/files/UnRarX_2.2.zip
- 解压文件UnRarX_2.2.zip
- 复制或者移动文件UnRarX.app到目录/Applications/(即:应用程序)下
技术图书世界: 免费的电子图书"Ruby要点(Essential Ruby)"
由Gudao Luo在2008-11-17 at 15:36发表的
Rails实例世界(No 1):可视化路由工具vasco
由Gudao Luo在2008-11-16 at 06:49发表的
- 安装前提条件:
- ruby version 1.8.6
- gem version 1.3.1
- rails version 2.1.2
- git version 1.6.0.1
- 说明
- 在Mac OS X上使用上面所说的方法一切正常
- 在Debian Sarge 3.1 Server上使用上面所说的方法,在使用命令“rake vasco:explore”时,就会出现问题。
- 在使用Mongrel服务器可以正常访问
- 在使用Thin服务器可以访问vasco时,会出现下面错误:
No route matches ”/vasco” with {:method=>:get}
- 参考资料
- Introducing Vasco: A Route Explorer for Rails http://tinyurl.com/59pacg
- Minor bug fix to Vasco http://tinyurl.com/5dk37r
- Vasco now supports nested routes http://tinyurl.com/6n8v6y
博客世界:Rails神话(The Rails Myths)
由Gudao Luo在2008-11-15 at 07:59发表的

- 相关资料
- Merb, Rails Myths, Language Popularity and other Zenbits http://tinyurl.com/6pjfrn
- http://www.zedshaw.com/blog/2008-11-13.html
- MythBusting — Rails is not a monolith http://tinyurl.com/6adalf
网站推荐:Ruby & Rails 外文精华翻译站
由Gudao Luo在2008-11-15 at 06:41发表的
软件开发工具:在Debian/Ubuntu上安装版本控制工具Git
由Gudao Luo在2008-11-14 at 05:00发表的
Apple世界:苹果电脑朗读英文文本
由Gudao Luo在2008-11-12 at 13:58发表的

- 设置方法
- 在桌面的程序栏中,打开“系统偏好设置”
- 在打开了的窗口中,点击“语音”
- 选择如上图的设置,“按下按钮时朗读所选文本”
- 点击按钮“设置键”,输入一个任意组合键,如“Option+A”
- 使用方法
- 在浏览器中,选择需要朗读的英文内容
- 使用组合键“Option+A”,就会朗读该英文内容
- 说明
- 可惜朗读中文内容功能好像没有。
- 参考资料
使用苹果电脑朗读英文文章 http://tinyurl.com/5a4keu
使用苹果电脑共享上网 http://tinyurl.com/6s3xdy
代码世界:开源软件Redmin版本0.7.3的代码问题
由Gudao Luo在2008-11-11 at 13:54发表的
网站推荐:获取隐藏的flv文件连接
由Gudao Luo在2008-11-10 at 10:17发表的
开发工具世界:在Mac OSX上如何安装7-zip
由Gudao Luo在2008-11-08 at 09:46发表的
Apple世界:Mac OS X浏览器知道多少?
由Gudao Luo在2008-11-07 at 08:46发表的
Apple世界: 在Mac OS X上安装网络文件下载工具wget
由Gudao Luo在2008-11-06 at 14:56发表的

- 安装说明
- 下载:wget http://tinyurl.com/5odt4o 。
- 解压: 双击文件wget.zip
- 进入该解压目录,可以看到文件:wget,wgetrc和wget.1 。
- 设置环境变量“:/usr/local/bin”,具体方法参考: 如何设置环境变量 MacOSX on Leopard
- 执行下面命令
- 说明
- 上面是使用可执行文件的安装方法,如果想从源代码开始安装它的话,那么请看下面参考文献的连接。
- 参考文献
- wget for Mac OS X Leopard http://tinyurl.com/4rlzns
- Building wget for Mac OS X http://tinyurl.com/d9b39
图书世界:免费的Git使用手册
由Gudao Luo在2008-11-03 at 12:02发表的
Apple世界:SQLite数据库可视化工具
由Gudao Luo在2008-11-02 at 21:43发表的

- 相关连接
- SQLite Manager https://addons.mozilla.org/zh-CN/firefox/addon/5817
数据库世界:下一代数据库储存系统CouchDB
由Gudao Luo在2008-11-01 at 17:44发表的

- 说明
“Its interesting to see that recently things like CouchDB or BigTable, and other implementations treat the database as a big hash. Or implement a big hash as a database are popping up and that’s very interesting.”—-DHH
- CouchDB on Rails何时到位?
- 值得好好学习的数据库系统!
- Ruby语言实现的CouchDB接口
- ActiveCouch home http://activecouch.googlecode.com/
- ActiveCouch Source
- CouchResource
- CouchObject
- CouchObject Home
- CouchObject RDoc
- 参考文献
- Installing CouchDB on MacOSX
- 最简单地安装CouchDB到MacOS
- 基于RESTful的面向文档数据库
- ActiveCouch – A Ruby Wrapper for CouchDB
- Futuretalk: CouchDB
- ActiveCouch – a CouchDB library in the spirit of ActiveResource and ActiveRecord
- Installing CouchDB 0.8.0 on Ubuntu 8.04
- ThruDB for Rails? ActiveDocument
- Thrudb – faster, cheaper than SimpleDB
- Damien Katz
- CouchDB Implementation
Apple世界:如何安装应用软件到iPhone
由Gudao Luo在2008-10-06 at 15:20发表的

- 说明
- 安装 Apple iTunes
- 连接 PC或者Apple 与 iPhone
- 在软件Apple iTunes中,注册iTunes Store(仅仅Apple帐号是不够的)
- 现在可以通过iPhone手机,下载iPhone软件
Apple世界:多过程浏览器Stainless
由Gudao Luo在2008-10-01 at 11:58发表的

- 说明
- 多过程浏览器的特点
- 每个标签都有自己的过程
- 地址栏直接搜索
- 在窗口间标签相互拖拉
- 个性化地址管理
- 多过程浏览器的好处
- 更好性能
- 更好稳定性
- 更少内存
- 多过程浏览器还有 Google Chrome for Windows
- 技术背景: WebKit . Google Chrome, Appl Safari 和 Stainless 都是基于该框架开发而成的。
- 多过程浏览器的特点
Google世界: 第一款Google智能手机问世
由Gudao Luo在2008-09-23 at 17:51发表的
Google世界:你现在还会关心DOS是怎样提供服务的吗?
由Gudao Luo在2008-09-03 at 17:56发表的


- 说明
- 谷歌高层自己也承认:“真正需要的不仅仅是一款浏览器,而是一个现代化的网页及应用平台”。
- 参考资料
- Google Chrome实用中文手册 ,可以下载PDF版,下载地址 http://tinyurl.com/598mrn
- 浏览器引擎WebKit http://webkit.org/
- JavaScript引擎V8 http://code.google.com/apis/v8/
- Ruby on V8 http://tinyurl.com/55mea6
rbv8—A Ruby VM running on Google V8 super VM
命令世界:在MacOSX上简化Rails启动命令
由Gudao Luo在2008-09-03 at 00:05发表的

- 参考资料
- Mac Leopard OS X, Windows Convert: Color Terminal, Fixing Spaces, Home & End Keys, Mouse http://tinyurl.com/6rydey
Apple世界:软件包管理系统MacPorts
由Gudao Luo在2008-09-02 at 06:25发表的
Linux世界:Ubuntu 社区电子杂志
由Gudao Luo在2008-09-01 at 00:34发表的

- 参考资料
- Full Circle 英文版 http://fullcirclemagazine.org/
- Full Circle 中文版 http://sites.google.com/site/fullcirclezh/
苹果世界:我在MacOSX上写博客所用的工具
由Gudao Luo在2008-08-31 at 01:58发表的

- 我在MacOSX上写博客所用的工具
- 储存视频网Screencast http://www.screencast.com/users/cnruby
- 浏览器Firefox3.0
- SFTP文件上传工具Cyberduck http://cyberduck.ch/
- 抓图和视频工具Jing http://www.jingproject.com/
- 储存抓图网Slide http://cnruby.slide.com/
- 博客流量网Blogflux http://topsites.blogflux.com/computers
- 博客聚合网Feed Informer http://feed.informer.com/
- 长连接网址处理网 http://tinyurl.com/
苹果世界:最好的视频软件VLC
由Gudao Luo在2008-08-30 at 21:28发表的
Ruby语言世界:今天动态类型语言地位
由Gudao Luo在2008-08-30 at 20:19发表的
数据库世界:基于RESTful的面向文档数据库(document-oriented database)
由Gudao Luo在2008-08-29 at 18:04发表的
苹果世界:调整在MacOSX Leopard终端软件的HOME键和End键
由Gudao Luo在2008-08-28 at 13:45发表的
聊天世界:使用migration还是SQL语句
由Gudao Luo在2008-08-27 at 21:23发表的
苹果世界:最简单地安装CouchDB到MacOS
由Gudao Luo在2008-08-26 at 17:29发表的

- 说明:
- 条件:仅仅Intel+Leopard
- 下载:CouchDBX
- 双击(解压):文件CouchDBX-0.8.1-fixed-2.zip
- 双击(启动CouchDB服务器):文件CouchDBX.app
- 打开浏览器:输入http://localhost:5984/
苹果世界:RealPlayer 11 for Mac OS X
由Gudao Luo在2008-08-23 at 02:03发表的
Apple世界:如何设置环境变量 MacOSX on Leopard
由Gudao Luo在2008-08-17 at 10:32发表的
Rails框架:PDF开发包ActvieFPDF for Rails 2.1
由Gudao Luo在2008-08-16 at 08:45发表的
新闻世界:北京2008奥运网上视频
由Gudao Luo在2008-08-08 at 20:08发表的
网站推荐:开源Rails项目大本营
由Gudao Luo在2008-08-07 at 04:46发表的
代码世界:Ruby语言元编程的方法
由Gudao Luo在2008-08-06 at 04:31发表的
文章推荐:以Ruby语言开发Cocoa框架软件实例
由Gudao Luo在2008-08-05 at 04:28发表的
Apple世界:免费SSH客户端图形界面软件Cyberduck
由Gudao Luo在2008-08-04 at 22:15发表的
代码世界: 如何在软件SimpleLog中更好地显示代码
由Gudao Luo在2008-08-03 at 03:32发表的

解决方案
- 切换到软件SimpleLog的根目录
cd %SIMPLELOG_ROOT%
- 下载CSS文件
cd public/themes/simplelog/stylesheets
wget http://www.lycom.de/themes/simplelog/stylesheets/coderay.css
cd %SIMPLELOG_ROOT%
- 打开SimpleLog软件的主模板文件,并且把所下载的CSS文件连接到程序中去
vi themes/simplelog/layouts/site.rhtml
<%= theme_stylesheet_link_tag 'coderay.css', :title => Site.site_name, :media => 'screen' %>
<div class="CodeRay"><pre>
—你的代码—
</pre></div>
代码世界:介绍使用jQuery UI标签功能
由Gudao Luo在2008-08-02 at 19:04发表的

使用实例
- 下载CSS文件及其图片
1 svn co http://jquery-ui.googlecode.com/svn/tags/latest/themes/flora/
- 下载jQuery软件及其UI库
或者使用命令1 curl -O http://code.jquery.com/jquery-latest.js 2 curl -O http://dev.jquery.com/view/tags/ui/latest/ui/ui.core.js 3 curl -O http://dev.jquery.com/view/tags/ui/latest/ui/ui.tabs.js
1 wget http://code.jquery.com/jquery-latest.js 2 wget http://dev.jquery.com/view/tags/ui/latest/ui/ui.core.js 3 wget http://dev.jquery.com/view/tags/ui/latest/ui/ui.tabs.js
- 创建一个HTML文件
1 vi tabs.html - 该HTML文件必须包含三部分内容:
1 <html><head> 2 <!— 1. 说明CSS文件和jQuery文件的位置 BEGIN —> 3 <script src="jquery-latest.js"></script> 4 <link rel="stylesheet" href="flora/flora.all.css" type="text/css" media="screen" title="Flora (Default)"> 5 <script type="text/javascript" src="ui.core.js"></script> 6 <script type="text/javascript" src="ui.tabs.js"></script> 7 <!— 1. 说明CSS文件和jQuery文件的位置 END —> 8 9 <!— 2. jQuery代码 BEGIN —> 10 <script> 11 $(document).ready(function(){ 12 $("#example > ul").tabs(); 13 }); 14 </script> 15 <!— 2. jQuery代码 END —></head><body> 16 17 <!— 3. 与jQuery代码相关的HTML代码 BEGIN —> 18 <div id="example" class="flora"> 19 <ul> 20 <li><a href="#fragment-1"><span>One</span></a></li> 21 <li><a href="#fragment-2"><span>Two</span></a></li> 22 <li><a href="#fragment-3"><span>Three</span></a></li> 23 </ul> 24 <div id="fragment-1">tab1 内容</div> 25 <div id="fragment-2">tab2 内容</div> 26 <div id="fragment-3">tab3 内容</div> 27 </div> 28 <!— 3. 与jQuery代码相关的HTML代码 END —></body></html>
- 参考资料
网络世界:关于数字信息的瑞士银行
由Gudao Luo在2008-08-01 at 21:36发表的
MacOS世界:以最快方法安装软件Git
由Gudao Luo在2008-07-31 at 20:09发表的
Rails框架:知道什么是ActivePresenter?
由Gudao Luo在2008-07-30 at 00:03发表的
网站推荐:新搜索引擎Cuil
由Gudao Luo在2008-07-29 at 15:04发表的
Rails框架:免费Rails 2.1中文版本图书
由Gudao Luo在2008-07-28 at 18:15发表的
网络世界:Google Docs模板
由Gudao Luo在2008-07-17 at 22:53发表的
Ruby语言:《JRuby语言实战技术》正式上市
由Gudao Luo在2008-07-01 at 22:25发表的
Rails框架:有用的jQuery插件Accordion
由Gudao Luo在2008-06-30 at 21:48发表的
Rails框架:集成jQuery到Rails软件
由Gudao Luo在2008-06-29 at 21:56发表的
Rail框架:《jQuery on Rails系列》
由Gudao Luo在2008-06-28 at 23:02发表的

- jQuery on Rails系列
- 在Rails上安装和使用jQuery的方法
- 简单使用jQuery插件Accordion的方法
- 深入使用jQuery插件Accordion的方法
- 改进jQuery插件Accordion的源代码
- 使用Rails插件navigation_helper的方法
- 集成Rails插件Accordion和jQuery插件navigation_helper于一体的应用方法:完整菜单实例
网站推荐:可搜索的Rails框架技术文档
由Gudao Luo在2008-06-25 at 22:12发表的

- 推荐说明
- rails-doc.org 提供了Rails框架技术文档更为简洁查询方式。
- rails-doc.org 提供了Rails框架技术实例代码,不过正在逐渐增加中。
网络新闻:互联网顶级域名的重大变革
由Gudao Luo在2008-06-24 at 21:46发表的
软件世界:Eclipse Ganymede
由Gudao Luo在2008-06-23 at 00:22发表的
网站推荐:英文每周Ruby语言评论
由Gudao Luo在2008-06-22 at 22:36发表的
字体世界:实现字体的跨平台
由Gudao Luo在2008-06-19 at 22:58发表的

- 说明
- 字体Liberation解决两个问题:一是字体库的版权问题;二是字体适用于不同的操作系统。
- 上图是使用了字体Liberation Mono,对于代码开发是不错的字体。
- 字体在下面的链接中获取:
- https://www.redhat.com/promo/fonts/
硬件世界:第一台超级电脑质量的笔记本
由Gudao Luo在2008-06-18 at 22:08发表的
字体世界:在不同场合中使用特殊符号
由Gudao Luo在2008-06-17 at 08:32发表的

- 说明:
- 在HTML上如何显示特殊符号?
- http://www.tc.umn.edu/~sorem002/wd.html
- 通过浏览器查看源代码。
- 在Word中如何输入特殊符号?
- 在FPDF中如何显示特殊符号?
- 在HTML上如何显示特殊符号?
开发工具:Ruby语言正则表达式工具
由Gudao Luo在2008-06-16 at 08:33发表的

- 正则表达式工具
- 在线类型工具:http://www.regexbuddy.com/
- 离线类型工具:http://rubular.com/
数学世界:《维度;数学漫步(Dimensions: a walk through mathematics)》
由Gudao Luo在2008-06-15 at 00:31发表的
- 说明
- 《维度;数学漫步(Dimensions: a walk through mathematics)》是一部长达两小时的数学科普电影。
- 相关链接
- 完整电影下载:
http://www.dimensions-math.org/Dim_download2_E.htm - 花10欧元购买DVD(提供中文字幕):
http://www.dimensions-math.org/Dim_order_E.htm
- 完整电影下载:
Ruby世界:解决Ruby的重大安全
由Gudao Luo在2008-06-14 at 07:06发表的
苹果世界:真正好的免费抓图和视频工具Jing
由Gudao Luo在2008-06-13 at 05:11发表的
视频世界:Netbeans如何实现文件类型关联方法
由Gudao Luo在2008-06-12 at 12:02发表的
图书世界:Ruby图书知多少
由Gudao Luo在2008-06-11 at 18:39发表的
视频世界:Ruby和Rails视频教程
由Gudao Luo在2008-06-10 at 18:32发表的
Rails框架:Rails框架系列教程
由Gudao Luo在2008-06-09 at 19:46发表的

- Rails框架系列教程一
- Beginners Tutorial: Routing in Rails 2.0 (with REST) – Part 1 of n
- Beginners Tutorial: Routing in Rails 2.0 (with REST) – Part 2 of n
- Beginners Tutorial: Routing in Rails 2.0 (with REST) – Part 3 of n
- Beginners Tutorial: Routing in Rails 2.0 (with REST) – Part 4 of n
- Beginners Tutorial: Routing in Rails 2.0 (with REST) – Part 5 of n
网站推荐:在线中文艺术字体
由Gudao Luo在2008-06-08 at 11:07发表的
Monkeybars框架:前途不错的JRuby桌面软件框架Monkeybars
由Gudao Luo在2008-06-07 at 10:03发表的
Rails框架:最重要的可视化图表Ruby语言库gchartrb
由Gudao Luo在2008-06-06 at 21:57发表的

- 说明
- Ruby语言库gchartrb是一件穿着Ruby语言的外套,其核心是基于Google API Chart 。
- bd7lx说:“不需要(自身)server端的图形处









































































































