<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>zhaojiahui (zjhui)</title>
    <link>https://ruby-china.org/zhaojiahui</link>
    <description>puts "hello world"</description>
    <language>en-us</language>
    <item>
      <title>发个我们这的土特产，小番薯</title>
      <description>&lt;p&gt;不知道在这里发这个算不算违规。要是违规的话请管理员和我说一下，然后把帖子删了吧。
回老家上班了，顺便卖点我们这的一些土特产。目前还只有小番薯。
小番薯属于粗粮，吃粗粮的好处我想大家网上搜下就一大把了。我们的小番薯 &lt;strong&gt;甜，粉，糯&lt;/strong&gt; ，并且还成功打进了&lt;a href="http://qjnews.zjol.com.cn/qjnews/system/2014/08/15/018321931.shtml" rel="nofollow" target="_blank" title=""&gt;青奥会&lt;/a&gt;
如果大家有需要的话可以光临我的&lt;a href="http://item.taobao.com/item.htm?spm=686.1000925.1000774.13.lOQ624&amp;amp;id=40727466243" rel="nofollow" target="_blank" title=""&gt;淘宝小店&lt;/a&gt;。&lt;/p&gt;

&lt;p&gt;附上一些我们拍的图片吧。没有任何 PS。
&lt;img src="https://l.ruby-china.com/photo/2014/1430496628a57ff79a9a0ae340fb9239.jpg" title="" alt=""&gt;
这个是刚出土的照片&lt;br&gt;
&lt;img src="https://l.ruby-china.com/photo/2014/e78e2ebb9c09bf55c86c74b78115cbb5.jpg" title="" alt=""&gt;
这个是我们在挖番薯&lt;br&gt;
&lt;img src="https://l.ruby-china.com/photo/2014/9c25458a0284e736c9227cdd8fd6bebc.jpg" title="" alt=""&gt;
这个是蒸好之后的照片&lt;br&gt;
&lt;img src="https://l.ruby-china.com/photo/2014/b4be1439efb8e54606ff91294fe3b51b.jpg" title="" alt=""&gt;
这个是我们的种植基地  &lt;/p&gt;

&lt;p&gt;欢迎各位光临我的小店哈，来自 ruby-china 的朋友买五斤送 1 斤哈。买的时候留言备注下来自 ruby-china.&lt;/p&gt;</description>
      <author>zhaojiahui</author>
      <pubDate>Thu, 21 Aug 2014 17:22:42 +0800</pubDate>
      <link>https://ruby-china.org/topics/21162</link>
      <guid>https://ruby-china.org/topics/21162</guid>
    </item>
    <item>
      <title>acts_as_taggable_on 获取标签名字及每个标签的数量</title>
      <description>&lt;p&gt;&lt;code&gt;ruby: 2.0.0p0, rails: 3.2.13 , acts-as-taggable-on 2.4.1&lt;/code&gt;
正在使用&lt;code&gt;acts_as_taggable_on&lt;/code&gt;来打标签，现在我获取到每个标签名字及对应的数量&lt;/p&gt;
&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;span class="mf"&gt;2.0&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="n"&gt;p0&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mo"&gt;04&lt;/span&gt;&lt;span class="mi"&gt;9&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="no"&gt;Question&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tag_counts&lt;/span&gt;
   &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;0.3&lt;/span&gt;&lt;span class="n"&gt;ms&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="no"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;questions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;id&lt;/span&gt; &lt;span class="no"&gt;FROM&lt;/span&gt; &lt;span class="s2"&gt;"questions"&lt;/span&gt; 
  &lt;span class="no"&gt;ActsAsTaggableOn&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;Tag&lt;/span&gt; &lt;span class="no"&gt;Load&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;0.3&lt;/span&gt;&lt;span class="n"&gt;ms&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="no"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;tags&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;*&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;taggings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tags_count&lt;/span&gt; &lt;span class="no"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;count&lt;/span&gt; &lt;span class="no"&gt;FROM&lt;/span&gt; &lt;span class="s2"&gt;"tags"&lt;/span&gt; &lt;span class="no"&gt;JOIN&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;taggings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tag_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;COUNT&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;taggings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tag_id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="no"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;tags_count&lt;/span&gt; &lt;span class="no"&gt;FROM&lt;/span&gt; &lt;span class="s2"&gt;"taggings"&lt;/span&gt; &lt;span class="no"&gt;INNER&lt;/span&gt; &lt;span class="no"&gt;JOIN&lt;/span&gt; &lt;span class="n"&gt;questions&lt;/span&gt; &lt;span class="no"&gt;ON&lt;/span&gt; &lt;span class="n"&gt;questions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;taggings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;taggable_id&lt;/span&gt; &lt;span class="no"&gt;WHERE&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;taggings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;taggable_type&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Question'&lt;/span&gt; &lt;span class="no"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;taggings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;context&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'tags'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="no"&gt;AND&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;taggings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;taggable_id&lt;/span&gt; &lt;span class="no"&gt;IN&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;17&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;18&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;22&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;23&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;24&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;26&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;27&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;28&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;29&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;31&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;32&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="no"&gt;GROUP&lt;/span&gt; &lt;span class="no"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;taggings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tag_id&lt;/span&gt; &lt;span class="no"&gt;HAVING&lt;/span&gt; &lt;span class="no"&gt;COUNT&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;taggings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tag_id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="no"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;taggings&lt;/span&gt; &lt;span class="no"&gt;ON&lt;/span&gt; &lt;span class="n"&gt;taggings&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;tag_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;tags&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;id&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;这个貌似只返回了 tag_id 和 tag name。求指导。&lt;/p&gt;</description>
      <author>zhaojiahui</author>
      <pubDate>Fri, 10 May 2013 22:56:27 +0800</pubDate>
      <link>https://ruby-china.org/topics/10894</link>
      <guid>https://ruby-china.org/topics/10894</guid>
    </item>
    <item>
      <title>redcarpet-2.2.2 使用问题</title>
      <description>&lt;p&gt;Ruby: 2.0.0p0 , Rails: 3.2.13, redcarpet: 2.2.2
&lt;code&gt;application_helper.rb&lt;/code&gt;&lt;/p&gt;
&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;markdown&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;                                                                                                     
&lt;span class="n"&gt;markdown_render&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;Redcarpet&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;Render&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;HTML&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;new&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="ss"&gt;:hard_wrap&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="kp"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="ss"&gt;:no_styles&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="kp"&gt;true&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;markdown&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;Redcarpet&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="no"&gt;Markdown&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;new&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;markdown_render&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="ss"&gt;:autolink&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="kp"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="ss"&gt;:no_intro_emphasis&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="kp"&gt;true&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; 
&lt;span class="n"&gt;markdown&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;render&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;to_html&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;html_safe&lt;/span&gt;   
&lt;span class="k"&gt;end&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;app/views/questions/new.html.erb&lt;/code&gt;&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;%= simple_form_for @question do |f| %&amp;gt;
&amp;lt;%= f.input :title, :input_html =&amp;gt; { :class =&amp;gt; "span6" } %&amp;gt; 
&amp;lt;%= markdown(@question.content) %&amp;gt; 
&amp;lt;%= f.button :submit, :class =&amp;gt; 'btn-primary' %&amp;gt; 
&amp;lt;%= link_to 'Cancel', @question.id.blank? ? questions_path : question_path(params[:question]), :class =&amp;gt; "btn btn-danger" %&amp;gt;
&amp;lt;% end %&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;可是这样就会报错：&lt;code&gt;wrong argument type nil (expected String)&lt;/code&gt;
将&lt;code&gt;&amp;lt;%= markdown(@question.content) %&amp;gt;&lt;/code&gt; 改成&lt;code&gt;&amp;lt;%= markdown(@question.content.to_s) %&amp;gt;&lt;/code&gt;后又报错：&lt;code&gt;undefined method&lt;/code&gt;to_html' for "":String&lt;code&gt;，然后又将application_helper中的&lt;/code&gt;markdown.render(text).to_html.html_safe&lt;code&gt;改为&lt;/code&gt;markdown.render(text).html_safe`后，没有了 content 输入框，只有 title 输入框。
求指导。。&lt;/p&gt;</description>
      <author>zhaojiahui</author>
      <pubDate>Tue, 07 May 2013 14:57:35 +0800</pubDate>
      <link>https://ruby-china.org/topics/10786</link>
      <guid>https://ruby-china.org/topics/10786</guid>
    </item>
    <item>
      <title>安装 ruby-china 时出错</title>
      <description>&lt;p&gt;安装 ruby-china 时，执行&lt;code&gt;ruby setup.rb&lt;/code&gt;,在运行到 rake db:seed 时出现错误：&lt;br&gt;
&lt;code&gt;Could not connect to any secondary or primary nodes for replica set &amp;lt;Moped::Cluster nodes=[&amp;lt;Moped::Node resolved_address="127.0.0.1:27017"&amp;gt;]&amp;gt;&lt;/code&gt;
搜了下似乎是 mongodb 的问题，使用的是 mongodb-2.2.0-r1 ,ruby-1.9.3p194, rails 3.2.9
系统是 gentoo &lt;/p&gt;</description>
      <author>zhaojiahui</author>
      <pubDate>Sun, 16 Dec 2012 22:15:06 +0800</pubDate>
      <link>https://ruby-china.org/topics/7616</link>
      <guid>https://ruby-china.org/topics/7616</guid>
    </item>
    <item>
      <title>Ajax in Rails</title>
      <description>&lt;p&gt;我的 Rails 及 Ruby 的版本如下，使用的是 ubuntu 11.10
&lt;strong&gt;Rails --version: Rails 3.2.6&lt;/strong&gt;
&lt;strong&gt;Ruby --version: ruby 1.9.3p194&lt;/strong&gt;
最近在看《Web 开发敏捷之道》第四版，看到 &lt;code&gt;Task F: Add a Dash of Ajax&lt;/code&gt; 时有些困惑，书上说要用 create.js,rjs，可是我搜到&lt;a href="/Rei" class="user-mention" title="@Rei"&gt;&lt;i&gt;@&lt;/i&gt;Rei&lt;/a&gt;的这篇 blog &lt;a href="http://chloerei.com/2012/04/21/rails-3-2-ajax-guide/" rel="nofollow" target="_blank"&gt;http://chloerei.com/2012/04/21/rails-3-2-ajax-guide/&lt;/a&gt; ,说是这种方式已经在 3.1 以后被移除了，然后我使用 Rei 的方法
app/views/store/index.html.erb:&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;%= button_to 'Add to Cart', line_items_path(:product_id =&amp;gt; product), :remote =&amp;gt; true %&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;然后在 app/controllers/line_items_controller.rb 中：&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;def create
    @cart = current_cart
    product = Product.find(params[:product_id])
    @line_item = @cart.add_product(product.id)
    respond_to do |format|                                            
  if @line_item.save
    format.html { redirect_to(store_url) } 
    format.json { render json: @line_item, status: :created, location: @line_item }
  else
    format.html { render action: "new" }
    format.json { render json: @line_item.errors, status: :unprocessable_entity }
  end
end  
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;在我加了:remote =&amp;gt; true 这个参数后，每点一次 Add to Cart 后，增加的数量是 2，不是 1，难道是我这个参数的位置放错了？还有，每次 Add to Cart 后，都要手动刷新一下，才会显示侧边栏 Cart 的更新，而不是它自己更新。
最后，我去看了下这本书的源码，书本作者在 3.2 下用的是在&lt;strong&gt;app/views/line_items/&lt;/strong&gt;文件夹下增加一个 create.js.erb(书本上是用.rjs)。
我困惑了，我是该按照书本的方式，还是按照&lt;a href="/Rei" class="user-mention" title="@Rei"&gt;&lt;i&gt;@&lt;/i&gt;Rei&lt;/a&gt;的方法，在 Rails 下使用 Ajax，若是按照 Rei 的方法，我又该怎么写？
纯新手，求指导~~&lt;/p&gt;</description>
      <author>zhaojiahui</author>
      <pubDate>Fri, 26 Oct 2012 13:28:57 +0800</pubDate>
      <link>https://ruby-china.org/topics/6339</link>
      <guid>https://ruby-china.org/topics/6339</guid>
    </item>
    <item>
      <title>关于 ruby 当中的 self</title>
      <description>&lt;p&gt;有谁有关于 ruby 当中 self 的好点的资料吗？在看 ruby 元编程，没怎么看明白他对 self 的解释。
比如在动态创建方法当中有这样一段：&lt;/p&gt;
&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Computer&lt;/span&gt;
   &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;initialize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;computer_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;data_source&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
   &lt;span class="o"&gt;......&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
   &lt;span class="nf"&gt;end&lt;/span&gt;
   &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nc"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;define_component&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
   &lt;span class="o"&gt;.........&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
   &lt;span class="nf"&gt;end&lt;/span&gt;
 &lt;span class="n"&gt;define_component&lt;/span&gt; &lt;span class="ss"&gt;:mouse&lt;/span&gt;
 &lt;span class="n"&gt;define_component&lt;/span&gt; &lt;span class="ss"&gt;:cpu&lt;/span&gt;
 &lt;span class="n"&gt;define_component&lt;/span&gt; &lt;span class="ss"&gt;:keyboard&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;在上面的 self.define_component(name) 中，方法 define_component(name) 应该只能通过 Computer 类来调用，那么这里不用 self.define_component(name)，改成 define_component(name) 应该也是可以的吧  &lt;/p&gt;</description>
      <author>zhaojiahui</author>
      <pubDate>Thu, 28 Jun 2012 13:18:38 +0800</pubDate>
      <link>https://ruby-china.org/topics/4026</link>
      <guid>https://ruby-china.org/topics/4026</guid>
    </item>
    <item>
      <title>能否用 Ruby 抓取 IP 数据包？</title>
      <description>&lt;p&gt;最近有一个网络实验，要求我们抓取 IP 数据包中的源 IP，目的 IP 等各种 IP 数据包中的信息，我在想能否用 Ruby 实现这一功能？  &lt;/p&gt;</description>
      <author>zhaojiahui</author>
      <pubDate>Fri, 01 Jun 2012 23:52:43 +0800</pubDate>
      <link>https://ruby-china.org/topics/3605</link>
      <guid>https://ruby-china.org/topics/3605</guid>
    </item>
  </channel>
</rss>
