<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>nilisnil (tinyfive)</title>
    <link>https://ruby-china.org/nilisnil</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>为什么用 link_to 比直接写 a 标签更 “好”</title>
      <description>&lt;p&gt;如题，看到有文章提到说用&amp;lt;%= link_to 'xxx', xxx_path %&amp;gt;比&lt;a href=""&gt;&lt;/a&gt;标签更容易维护之类的，不是太明白。&lt;a href="http://blog.xdite.net/posts/2011/12/04/misunderstanding-about-render/" rel="nofollow" target="_blank"&gt;http://blog.xdite.net/posts/2011/12/04/misunderstanding-about-render/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;同理，是不是 rails 其他的 tag helper 也是。&lt;/p&gt;

&lt;p&gt;似乎很多前端都不太屑于用这套东西。有人能分析下吗&lt;/p&gt;</description>
      <author>nilisnil</author>
      <pubDate>Thu, 06 Dec 2012 15:31:12 +0800</pubDate>
      <link>https://ruby-china.org/topics/7366</link>
      <guid>https://ruby-china.org/topics/7366</guid>
    </item>
    <item>
      <title>如何禁止 #to_json 方法对中文的 escape</title>
      <description>&lt;p&gt;如题，把
{:title=&amp;gt;"水浒传", :author=&amp;gt;"施耐庵"}.to_json 就转成下面这样了
{"title":"\u6c34\u6d52\u4f20","author":"\u65bd\u8010\u5eb5"}&lt;/p&gt;

&lt;p&gt;有没有办法不转换呢  &lt;/p&gt;</description>
      <author>nilisnil</author>
      <pubDate>Thu, 31 May 2012 16:08:05 +0800</pubDate>
      <link>https://ruby-china.org/topics/3578</link>
      <guid>https://ruby-china.org/topics/3578</guid>
    </item>
  </channel>
</rss>
