<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="/xslt/rss2.xsl" media="screen"?>
<rss version="2.0"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Latest from ChinaonRails's Newbie</title>
		<link>http://chinaonrails.com/go/newbie</link>
		<description>ChinaonRails | ChinaonRails are one of the very few China based web consultancies, who specialize in application development using RubyOnRails/Agile/Ajax.</description>
		<category>Technology</category>
		<language>zh_cn</language>
		<item>
			<title>DreamHost 部署全攻略 暨 DreamHost 帐号免费派送 ... 3 replies</title>
			<link>http://chinaonrails.com/topic/view/4305.html</link>
			<comments>http://chinaonrails.com/topic/view/4305.html#reply</comments>
			<dc:creator>gnowoel</dc:creator>
			<author>gnowoel</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_1.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_n.gif" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			DreamHost 似乎是 Rails 程序员的必经之路，要么我们曾经使用过 DreamHost，要么我们希望用上 DreamHost。对 DreamHost 的评价似乎也褒贬不一，但是最关键的，它支持 Rails，它便宜。但即使便宜如 DreamHost，也不是每个学习者都能够得到的，至少我们需要一张国际信用卡，而这对于一名大学生或中学生来说，却又是无法满足的条件。&lt;br /&gt;
&lt;br /&gt;
我这里正好有个闲置的 DreamHost，尽管 11 月会到期，而我也没有打算续费，但至少我们还有几个月的时间。我愿意拿出来，希望能够帮助 Rails 的初学者。DreamHost 本身对网站数量并没有限制，只是作为共享空间，它的资源却相当有限。我考虑先提供 3 个名额，我的要求不多，第一请善用这有限的资源（例如，不要使用 SSH 翻墙看视频（我是不是不该提醒你？）），第二站点必须架起来，而且有持续性进展。&lt;br /&gt;
&lt;br /&gt;
我的基本考虑是为最需要的人提供这项服务，但事实上我却拿不出衡量的标准，所以请大家申请之前，请先别人考虑考虑，如果没有具体的打算，不如让给真正需要的人。&lt;br /&gt;
&lt;br /&gt;
事实上，我不清楚大家是否会对这项免费服务感兴趣，因为 Chinaonrails 论坛似乎老手居多，说不定大家都有了属于自己的部署平台。但不管怎样，我还是编写了一份 DreamHost 部署说明，供需要的人参考：&lt;br /&gt;
&lt;br /&gt;
  http://xcell.me/posts/4-deploying-rails-apps-on-dreamhost&lt;br /&gt;
&lt;br /&gt;
我承诺在 24 小时内为申请者开通帐号，之后如果遇到任何关于 DreamHost 部署的问题，我都会尽力帮助解决。或者说，你可以把我当作免费的售后。&lt;br /&gt;
&lt;br /&gt;
对了，申请者可以使用自己的域名，如果自己没有域名的话，我可以提供一个二级域名，所以请不必担心，而且也不准嫌我给的二级域名太难看。&lt;br /&gt;
&lt;br /&gt;
要是这个概念可行，我愿意分批次地多提供一些名额。请大家告诉我你的想法，如果真有人愿意参与的话，到时我再给出具体的联系方式不迟。&lt;br /&gt;
&lt;br /&gt;
谢谢大家。
			</description>
			<pubDate>Fri, 13 Aug 2010 10:26:15 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/4305.html</guid>
		</item>
		<item>
			<title>为纪念八七会议，今天开博 ... 10 replies</title>
			<link>http://chinaonrails.com/topic/view/4273.html</link>
			<comments>http://chinaonrails.com/topic/view/4273.html#reply</comments>
			<dc:creator>gnowoel</dc:creator>
			<author>gnowoel</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_1.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_n.gif" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			可是今天是八月六号？恩，那就提前一天庆祝吧。&lt;br /&gt;
&lt;br /&gt;
早在年初时我就有一股开博的冲动，当时写了一个很简单的博客程序，但后来却忙别的事去了。最近这股冲动又回来了，我把程序找出来，升级到 Rails 2.3.8 版，准备挂到 Linode 的 VPS 服务器上，却发现 Thin 会报错，我改用 Bundler 处理 Gems 的依赖关系后一切正常。程序源代码完全公开，网站上有指向 GitHub 上的链接。&lt;br /&gt;
&lt;br /&gt;
我并不是什么高手，只是希望借助博客和大家分享我的学习心得。今天发表第一篇：在 Ubuntu 上安装 Ruby on Rails 开发环境。这几天我还计划系统地介绍如何在 VPS 上部署自己的 Rails 程序。&lt;br /&gt;
&lt;br /&gt;
博客网址：http://xcell.me/&lt;br /&gt;
&lt;br /&gt;
欢迎指教！
			</description>
			<pubDate>Fri, 06 Aug 2010 06:28:47 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/4273.html</guid>
		</item>
		<item>
			<title>ihower 开的教学训练网 ... 1 reply</title>
			<link>http://chinaonrails.com/topic/view/4108.html</link>
			<comments>http://chinaonrails.com/topic/view/4108.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			&lt;a href="http://ihower.tw/training/" rel="nofollow external" class="tpc"&gt;http://ihower.tw/training/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
本教材正在積極撰寫整理中，適合的 Rails 版本是 Rails 2.3。&lt;br /&gt;
&lt;br /&gt;
按初级中级高级课程话题分类&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://j.imagehost.org/0192/800wi.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
其实就是作者把以前的博客文章汇总分类，反映出作者的个人偏好&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://ihower.tw/training/ruby-library.html" rel="nofollow external" class="tpc"&gt;http://ihower.tw/training/ruby-library.html&lt;/a&gt;
			</description>
			<pubDate>Mon, 21 Jun 2010 11:26:41 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/4108.html</guid>
		</item>
		<item>
			<title>ROR Rocket 提供教程给菜鸟的网，绝对初级，看图说话 ... 3 replies</title>
			<link>http://chinaonrails.com/topic/view/3859.html</link>
			<comments>http://chinaonrails.com/topic/view/3859.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			&lt;a href="http://rorrocket.com/2010/04/07/ruby-on-rails-installation/" rel="nofollow external" class="tpc"&gt;http://rorrocket.com/2010/04/07/ruby-on-rails-installation/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://rorrocket.com/wp-content/uploads/2010/04/rorrocket_logo.png" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
看完了一篇就考考你&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://i.imagehost.org/0786/2010-04-09_083953.jpg" border="0" /&gt;
			</description>
			<pubDate>Fri, 09 Apr 2010 08:38:09 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3859.html</guid>
		</item>
		<item>
			<title>perl的$|=1;while (&lt;&gt;) ruby 怎么写? ... 1 reply</title>
			<link>http://chinaonrails.com/topic/view/3725.html</link>
			<comments>http://chinaonrails.com/topic/view/3725.html#reply</comments>
			<dc:creator>cor</dc:creator>
			<author>cor</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/1650.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1650_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1650_n.jpg" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			想要把 squid 的认证范例&lt;br /&gt;
http://old.squid-cache.org/Doc/Prog-Guide/prog-guide-19.html#ss19.2&lt;br /&gt;
从 perl 改写成 ruby&lt;br /&gt;
&lt;br /&gt;
#!/usr/bin/perl -w&lt;br /&gt;
$|=1;           # no buffering, important!&lt;br /&gt;
while (&amp;lt;&amp;gt;) {&lt;br /&gt;
        chop;&lt;br /&gt;
        ($u,$p) = split;&lt;br /&gt;
        $ans = &amp;check($u,$p);&lt;br /&gt;
        print "$ans\n";&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
一直搞不清楚,其中的&lt;br /&gt;
$|=1;&lt;br /&gt;
while (&amp;lt;&amp;gt;)&lt;br /&gt;
在 ruby 中要怎么写?&lt;br /&gt;
或者&lt;br /&gt;
在ruby是否用其他解法,&lt;br /&gt;
就能做成这范例的同样的功能?
			</description>
			<pubDate>Wed, 10 Feb 2010 22:14:45 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3725.html</guid>
		</item>
		<item>
			<title>nested count的问题 ... 3 replies</title>
			<link>http://chinaonrails.com/topic/view/3653.html</link>
			<comments>http://chinaonrails.com/topic/view/3653.html#reply</comments>
			<dc:creator>alucard</dc:creator>
			<author>alucard</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_0.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_0_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_0_n.gif" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			3层结构的 nested&lt;br /&gt;
&lt;br /&gt;
Homes&lt;br /&gt;
Rooms&lt;br /&gt;
Tvs&lt;br /&gt;
&lt;br /&gt;
Homes的那层,我要显示有多少房间, 就在 view 的 for 里写 &lt;br /&gt;
&lt;br /&gt;
for home in @homes&lt;br /&gt;
home.rooms.count&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
如果是 tv 我写&lt;br /&gt;
home.rooms.map {|room| room.tvs.count}.sum&lt;br /&gt;
&lt;br /&gt;
但是觉得在view里写不太好,有简单的方法吗?
			</description>
			<pubDate>Wed, 13 Jan 2010 18:03:00 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3653.html</guid>
		</item>
		<item>
			<title>如何让方法给controller和views共同调用? ... 8 replies</title>
			<link>http://chinaonrails.com/topic/view/3635.html</link>
			<comments>http://chinaonrails.com/topic/view/3635.html#reply</comments>
			<dc:creator>alucard</dc:creator>
			<author>alucard</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_0.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_0_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_0_n.gif" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			views 的方法放在 helper 里, controller 的放在 application_controller 里.&lt;br /&gt;
&lt;br /&gt;
如果有个方法我想 views 和 controllers 还有 model 共同调用,请问放在哪里比较好?
			</description>
			<pubDate>Wed, 06 Jan 2010 21:38:55 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3635.html</guid>
		</item>
		<item>
			<title>统计浏览数的时候,如何防止刷新重复统计? ... 3 replies</title>
			<link>http://chinaonrails.com/topic/view/3633.html</link>
			<comments>http://chinaonrails.com/topic/view/3633.html#reply</comments>
			<dc:creator>alucard</dc:creator>
			<author>alucard</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_0.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_0_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_0_n.gif" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			某个帖子, 要统计浏览数, 每次浏览页面的时候会 views + 1, 但是如果打开之后, 按刷新, 或者发表回复之后, 也会 views + 1, 如何防止?
			</description>
			<pubDate>Tue, 05 Jan 2010 17:25:53 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3633.html</guid>
		</item>
		<item>
			<title>nested index.html.erb的問題 ... 6 replies</title>
			<link>http://chinaonrails.com/topic/view/3616.html</link>
			<comments>http://chinaonrails.com/topic/view/3616.html#reply</comments>
			<dc:creator>alucard</dc:creator>
			<author>alucard</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_0.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_0_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_0_n.gif" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			map.resources :projects do |projects|&lt;br /&gt;
  projects.resources :assignments&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
nested关系如上&lt;br /&gt;
&lt;br /&gt;
输入地址为 http://localhost:3000/projects/1/assignments&lt;br /&gt;
&lt;br /&gt;
如果我要显示某个project的全部assignments, 默认的 assignement的index.html.erb是&lt;br /&gt;
&lt;br /&gt;
&amp;lt;% @assignments.each do |assignment| %&amp;gt;&lt;br /&gt;
&amp;lt;% end %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
似乎一直报错为&lt;br /&gt;
syntax error, unexpected keyword_do_block, expecting keyword_end&lt;br /&gt;
&lt;br /&gt;
controller 里是这样的&lt;br /&gt;
&lt;br /&gt;
def index&lt;br /&gt;
  @project = Project.find(params[:project_id])&lt;br /&gt;
  @assignments = @project.assignments.all&lt;br /&gt;
&lt;br /&gt;
  respond_to do |format|&lt;br /&gt;
      format.html # index.html.erb&lt;br /&gt;
    format.xml  { render :xml =&amp;gt; @project }&lt;br /&gt;
  end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
请问该如何显示 project 1下的所有 assignments?
			</description>
			<pubDate>Tue, 29 Dec 2009 14:11:00 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3616.html</guid>
		</item>
		<item>
			<title>免费书 Rails全新教程 ... 9 replies</title>
			<link>http://chinaonrails.com/topic/view/3591.html</link>
			<comments>http://chinaonrails.com/topic/view/3591.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			&lt;img class="code" src="http://www.railstutorial.org/images/layout/logo.png?1260404314" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.railstutorial.org/" rel="nofollow external" class="tpc"&gt;http://www.railstutorial.org/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The Ruby on Rails Tutorial Book&lt;br /&gt;
Thorough introduction to Ruby on Rails&lt;br /&gt;
&lt;br /&gt;
书正在写中，目前写的 1到4章&lt;br /&gt;
&lt;br /&gt;
Up-to-date with the latest version of Rails (now Rails 2.3.5, will be updated for Rails 3)&lt;br /&gt;
&lt;br /&gt;
内容在线免费&lt;br /&gt;
相关屏播待续&lt;br /&gt;
&lt;br /&gt;
作者Michael Hartl 写过社交网站为例子的RailsSpace&lt;br /&gt;
和社交平台Insoshi&lt;br /&gt;
&lt;br /&gt;
本书用测试驱动开发，layout美化界面，插件运用娴熟，一上来就让初学者对完成完整的网站开发树立信心
			</description>
			<pubDate>Thu, 10 Dec 2009 09:24:36 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3591.html</guid>
		</item>
		<item>
			<title>Heroku database problem ... 6 replies</title>
			<link>http://chinaonrails.com/topic/view/3439.html</link>
			<comments>http://chinaonrails.com/topic/view/3439.html#reply</comments>
			<dc:creator>Twilight</dc:creator>
			<author>Twilight</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/1377.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1377_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1377_n.jpg" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			I have tested my application locally and it works,but after i pushed my app to the server of heroku,the register and login actions did not work normally.&lt;br /&gt;
&lt;br /&gt;
after a long time of thinking,i point out that my app uses sqlite3 as the database,and Heroku uses PostgreSQL as default...but i don't know how,,,how to port a sqlite3 to a PostgreSQL database,even after searching the documents on www.heroku.com!&lt;br /&gt;
so,any ideas?
			</description>
			<pubDate>Sat, 19 Sep 2009 14:37:16 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3439.html</guid>
		</item>
		<item>
			<title>分頁問題 ... 4 replies</title>
			<link>http://chinaonrails.com/topic/view/3438.html</link>
			<comments>http://chinaonrails.com/topic/view/3438.html#reply</comments>
			<dc:creator>Twilight</dc:creator>
			<author>Twilight</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/1377.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1377_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1377_n.jpg" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			從具體例子問起：當查詢了數據庫後，匹配的結果有20條，如果以10條為一頁，應該怎么做！安裝新的GEMS就不問了，應為RAILS空間服務器我控制不了！
			</description>
			<pubDate>Fri, 18 Sep 2009 16:36:14 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3438.html</guid>
		</item>
		<item>
			<title>NetBeans调试ruby的问题 ... 1 reply</title>
			<link>http://chinaonrails.com/topic/view/3425.html</link>
			<comments>http://chinaonrails.com/topic/view/3425.html#reply</comments>
			<dc:creator>zltlsn</dc:creator>
			<author>zltlsn</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_1.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_n.gif" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			NetBeans版本：6.7.1&lt;br /&gt;
&lt;br /&gt;
代码中打了断点，点击“调试项目”&lt;br /&gt;
代码断住了，下面的“输出”有“监视”、“变量”等标签出现&lt;br /&gt;
可我什么都没动，一会这些项就都自己消失了。&lt;br /&gt;
而且用于调试的“下一步”之类的按钮也都变成灰色了&lt;br /&gt;
&lt;br /&gt;
请教各位大侠，怎么才能断住不动，要不没法进行观察啊。
			</description>
			<pubDate>Tue, 15 Sep 2009 23:54:40 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3425.html</guid>
		</item>
		<item>
			<title>欢迎大家加入ruby,rails,QQ群:15917997 (快200人了) ... 4 replies</title>
			<link>http://chinaonrails.com/topic/view/3389.html</link>
			<comments>http://chinaonrails.com/topic/view/3389.html#reply</comments>
			<dc:creator>square</dc:creator>
			<author>square</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/1022.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1022_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1022_n.jpg" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			建立我们国内的ruby on rails专业群，一起提高技术，结交业内朋友，组建专业团队。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*希望站长不要删除了，我在群里也会多多推荐贵站，谢谢理解。
			</description>
			<pubDate>Mon, 07 Sep 2009 11:05:11 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3389.html</guid>
		</item>
		<item>
			<title>大回环-各种循环的技巧详解A Wealth Of Ruby Loops And Iterators ... no reply</title>
			<link>http://chinaonrails.com/topic/view/3374.html</link>
			<comments>http://chinaonrails.com/topic/view/3374.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			&lt;a href="http://www.skorks.com/2009/09/a-wealth-of-ruby-loops-and-iterators/" rel="nofollow external" class="tpc"&gt;http://www.skorks.com/2009/09/a-wealth-of-ruby-loops-and-iterators/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://www.skorks.com/wp-content/uploads/2009/08/loop.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.skorks.com/2009/09/using-ruby-blocks-and-rolling-your-own-iterators/" rel="nofollow external" class="tpc"&gt;http://www.skorks.com/2009/09/using-ruby-blocks-and-rolling-your-own-iterators/&lt;/a&gt;Using Ruby Blocks And Rolling Your Own Iterators
			</description>
			<pubDate>Thu, 03 Sep 2009 12:02:50 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3374.html</guid>
		</item>
		<item>
			<title>restful 是否适用于web? ... 2 replies</title>
			<link>http://chinaonrails.com/topic/view/3231.html</link>
			<comments>http://chinaonrails.com/topic/view/3231.html#reply</comments>
			<dc:creator>jinleileiking</dc:creator>
			<author>jinleileiking</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_1.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_n.gif" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			看enki突然想起一个问题：&lt;br /&gt;
&lt;br /&gt;
blog时要显示一个文章，而且文章底下要显示评论，比且有个添加评论的功能。&lt;br /&gt;
&lt;br /&gt;
实际上是: show article, show commnet, new commnet.&lt;br /&gt;
&lt;br /&gt;
比如 post show 这时我想要 comment new...咋办。。。&lt;br /&gt;
&lt;br /&gt;
直接render comment? 那 comment new 的 controller咋办？
			</description>
			<pubDate>Fri, 07 Aug 2009 15:12:29 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3231.html</guid>
		</item>
		<item>
			<title>ShoutBox 从PHP框架CodeIgniter到Ruby on Rails的双双代码实现过程 ... 1 reply</title>
			<link>http://chinaonrails.com/topic/view/3197.html</link>
			<comments>http://chinaonrails.com/topic/view/3197.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			&lt;a href="http://net.tutsplus.com/tutorials/ruby/from-codeigniter-to-ruby-on-rails-a-conversion/" rel="nofollow external" class="tpc"&gt;http://net.tutsplus.com/tutorials/ruby/from-codeigniter-to-ruby-on-rails-a-conversion/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
教程给PHP开发者向rails学习过渡，给出实践近乎1：1的比对机会&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://nettuts.s3.amazonaws.com/394_ciRuby/images/success.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
以前的shout_box 没有用数据库&lt;br /&gt;
&lt;a href="http://bd7lx.javaeye.com/blog/31000" rel="nofollow external" class="tpc"&gt;http://bd7lx.javaeye.com/blog/31000&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
用数据库做后台的&lt;br /&gt;
&lt;a href="http://rubyforge.org/projects/raillery/#download" rel="nofollow external" class="tpc"&gt;http://rubyforge.org/projects/raillery/#download&lt;/a&gt;
			</description>
			<pubDate>Fri, 31 Jul 2009 09:00:50 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3197.html</guid>
		</item>
		<item>
			<title>ActiveRecord的问题 ... 3 replies</title>
			<link>http://chinaonrails.com/topic/view/3163.html</link>
			<comments>http://chinaonrails.com/topic/view/3163.html#reply</comments>
			<dc:creator>phaibin</dc:creator>
			<author>phaibin</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/1300.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1300_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1300_n.jpg" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			我有一个模型类Product，用Product.find(2)可以找到ID为2的产品，但是为什么用Product.find('2sfdf')也一样会找到ID为2的产品呢？
			</description>
			<pubDate>Tue, 21 Jul 2009 16:56:38 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3163.html</guid>
		</item>
		<item>
			<title>HTML中的input标签，如何实现嵌入图片 ... 2 replies</title>
			<link>http://chinaonrails.com/topic/view/3086.html</link>
			<comments>http://chinaonrails.com/topic/view/3086.html#reply</comments>
			<dc:creator>Twilight</dc:creator>
			<author>Twilight</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/1377.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1377_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1377_n.jpg" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			这种效果如何实现&lt;br /&gt;
&lt;img class="code" src="http://twilight4rails.googlecode.com/files/input.JPG" border="0" /&gt;
			</description>
			<pubDate>Wed, 24 Jun 2009 20:26:21 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3086.html</guid>
		</item>
		<item>
			<title>请看这边来 ... 2 replies</title>
			<link>http://chinaonrails.com/topic/view/3080.html</link>
			<comments>http://chinaonrails.com/topic/view/3080.html#reply</comments>
			<dc:creator>Twilight</dc:creator>
			<author>Twilight</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/1377.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1377_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1377_n.jpg" type="image/jpeg" />-->
			<category>Newbie</category>
			<description>
			在Controller里的某个action,比如list.&lt;br /&gt;
在浏览器要访问这个list的时候，为什么必须这样输入url?&lt;br /&gt;
http://www.myserver.com/list/list&lt;br /&gt;
第二个list是id?&lt;br /&gt;
那如果我需要设置成访问的URL是http://www.myserver.com/list，要怎么做。&lt;br /&gt;
P.S.:我是很新的手。
			</description>
			<pubDate>Tue, 23 Jun 2009 13:00:05 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3080.html</guid>
		</item>
	</channel>
</rss>