<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>edgar_wang_cn (Edgar Wang)</title>
    <link>https://ruby-china.org/edgar_wang_cn</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>Github Student Developer Pack</title>
      <description>&lt;p&gt;&lt;a href="https://education.github.com/pack" rel="nofollow" target="_blank"&gt;https://education.github.com/pack&lt;/a&gt;
Github 为学生提供的福利。&lt;/p&gt;</description>
      <author>edgar_wang_cn</author>
      <pubDate>Wed, 08 Oct 2014 07:58:36 +0800</pubDate>
      <link>https://ruby-china.org/topics/21907</link>
      <guid>https://ruby-china.org/topics/21907</guid>
    </item>
    <item>
      <title>semantic-rails</title>
      <description>&lt;p&gt;最近在用 Rails 写个玩具应用，用到了 semantic-ui。由于我使用 bower 来管理额外的 assets，但是又找不到适合 rails 的包，所以就折腾了这个 bower 包&lt;a href="https://github.com/edgarwang/semantic-rails" rel="nofollow" target="_blank" title=""&gt;semantic-rails&lt;/a&gt;。semantic 版本更新的好快。。。。&lt;/p&gt;</description>
      <author>edgar_wang_cn</author>
      <pubDate>Sat, 19 Oct 2013 12:36:13 +0800</pubDate>
      <link>https://ruby-china.org/topics/14861</link>
      <guid>https://ruby-china.org/topics/14861</guid>
    </item>
    <item>
      <title>调整 rails 的 url 风格</title>
      <description>&lt;p&gt;&lt;a href="http://augustl.com/blog/2009/styling_rails_urls/" rel="nofollow" target="_blank"&gt;http://augustl.com/blog/2009/styling_rails_urls/&lt;/a&gt;
这里介绍了一些调整 rails 的 url 风格的小技巧，比如&lt;code&gt;/posts/a-post-about-rockets&lt;/code&gt;这样的 url 风格。&lt;/p&gt;</description>
      <author>edgar_wang_cn</author>
      <pubDate>Fri, 13 Sep 2013 20:33:29 +0800</pubDate>
      <link>https://ruby-china.org/topics/14106</link>
      <guid>https://ruby-china.org/topics/14106</guid>
    </item>
    <item>
      <title>Steve Losh 教你如何撰写文档</title>
      <description>&lt;p&gt;Teach, Don’t Tell. &lt;a href="http://stevelosh.com/blog/2013/09/teach-dont-tell/#act-1-read-the-source" rel="nofollow" target="_blank"&gt;http://stevelosh.com/blog/2013/09/teach-dont-tell/#act-1-read-the-source&lt;/a&gt;&lt;/p&gt;</description>
      <author>edgar_wang_cn</author>
      <pubDate>Wed, 04 Sep 2013 08:22:16 +0800</pubDate>
      <link>https://ruby-china.org/topics/13872</link>
      <guid>https://ruby-china.org/topics/13872</guid>
    </item>
    <item>
      <title>Block, Proc 和 Lambda 的区别</title>
      <description>&lt;p&gt;&lt;a href="http://awaxman11.github.io/blog/2013/08/05/what-is-the-difference-between-a-block/" rel="nofollow" target="_blank"&gt;http://awaxman11.github.io/blog/2013/08/05/what-is-the-difference-between-a-block/&lt;/a&gt;
这里用代码详细说明了 Block, Proc 和 Lambda 的区别，主要是：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Proc 和 Lambda 都是对象，而 Block 不是&lt;/li&gt;
&lt;li&gt;参数列表中最多只能有一个 Block，但是可以有多个 Proc 或 Lambda&lt;/li&gt;
&lt;li&gt;Lambda 对参数的检查很严格，而 Proc 则比较宽松&lt;/li&gt;
&lt;li&gt;Proc 和 Lambda 中&lt;code&gt;return&lt;/code&gt;关键字的行为是不同的&lt;/li&gt;
&lt;/ul&gt;</description>
      <author>edgar_wang_cn</author>
      <pubDate>Fri, 09 Aug 2013 09:19:13 +0800</pubDate>
      <link>https://ruby-china.org/topics/13185</link>
      <guid>https://ruby-china.org/topics/13185</guid>
    </item>
    <item>
      <title>tern，一个 JS 的补全引擎</title>
      <description>&lt;p&gt;&lt;a href="http://ternjs.net/" rel="nofollow" target="_blank" title=""&gt;Tern&lt;/a&gt; is a stand-alone &lt;strong&gt;code-analysis engine&lt;/strong&gt; for JavaScript. It is intended to be used with a code editor plugin to enhance the editor's support for intelligent JavaScript editing. Features provided are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Autocompletion on variables and properties &lt;/li&gt;
&lt;li&gt;Function argument hints &lt;/li&gt;
&lt;li&gt;Querying the type of an expression &lt;/li&gt;
&lt;li&gt;Finding the definition of something &lt;/li&gt;
&lt;li&gt;Automatic refactoring &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Vim 上用这货配上 syntastic 和 jslint，写 JS 实在是爽，基本上赶上 IDE 的功能了。
放一个官方的 demo: &lt;a href="http://ternjs.net/doc/demo.html" rel="nofollow" target="_blank"&gt;http://ternjs.net/doc/demo.html&lt;/a&gt;&lt;/p&gt;</description>
      <author>edgar_wang_cn</author>
      <pubDate>Thu, 08 Aug 2013 19:23:22 +0800</pubDate>
      <link>https://ruby-china.org/topics/13175</link>
      <guid>https://ruby-china.org/topics/13175</guid>
    </item>
    <item>
      <title>Google Code 停止提供下载功能</title>
      <description>&lt;p&gt;&lt;a href="http://google-opensource.blogspot.com/2013/05/a-change-to-google-code-download-service.html" rel="nofollow" target="_blank"&gt;http://google-opensource.blogspot.com/2013/05/a-change-to-google-code-download-service.html&lt;/a&gt;
把用户向 Google Drive 上推 - -。&lt;/p&gt;</description>
      <author>edgar_wang_cn</author>
      <pubDate>Thu, 23 May 2013 06:58:45 +0800</pubDate>
      <link>https://ruby-china.org/topics/11169</link>
      <guid>https://ruby-china.org/topics/11169</guid>
    </item>
    <item>
      <title>stringer: A self-hosted, anti-social RSS reader.</title>
      <description>&lt;p&gt;Stringer is a Ruby app based on Sinatra, ActiveRecord, PostgreSQL, Backbone.js and DelayedJob. 程序的 UI 很不错，目前还在持续完善中，欢迎试用。它也是我第一个贡献代码的开源项目 - -。&lt;img title=":smile:" alt="😄" src="https://twemoji.ruby-china.com/2/svg/1f604.svg" class="twemoji"&gt;
github: &lt;a href="https://github.com/swanson/stringer" rel="nofollow" target="_blank"&gt;https://github.com/swanson/stringer&lt;/a&gt;&lt;/p&gt;</description>
      <author>edgar_wang_cn</author>
      <pubDate>Mon, 20 May 2013 23:29:00 +0800</pubDate>
      <link>https://ruby-china.org/topics/11119</link>
      <guid>https://ruby-china.org/topics/11119</guid>
    </item>
    <item>
      <title>Docker: the Linux container engine</title>
      <description>&lt;p&gt;dotClout 家开发的用于自动部署的工具，用以取代 VMs。
&lt;code&gt;Docker is an open-source engine which automates the deployment of applications as highly portable, self-sufficient containers.&lt;/code&gt;
官网：&lt;a href="http://www.docker.io/" rel="nofollow" target="_blank"&gt;http://www.docker.io/&lt;/a&gt;
github：&lt;a href="https://github.com/dotcloud/docker/" rel="nofollow" target="_blank"&gt;https://github.com/dotcloud/docker/&lt;/a&gt;
(- -。Go 语言节点好冷清。。。&lt;/p&gt;</description>
      <author>edgar_wang_cn</author>
      <pubDate>Sun, 19 May 2013 16:02:14 +0800</pubDate>
      <link>https://ruby-china.org/topics/11093</link>
      <guid>https://ruby-china.org/topics/11093</guid>
    </item>
    <item>
      <title>需要测试 Views 么？</title>
      <description>&lt;p&gt;最近用 Rails 写一个小项目，在写测试时遇到一个问题。我用 rspec 来写测试，rspec-rails 会自动生成用于测试 views 的相关代码，但是我看了几个开源的 Rails 项目，如 ruby-china，似乎都没有保留这些单独测试 views 的代码 (即&lt;code&gt;spec/views&lt;/code&gt;目录)，所有我想问：views 是否需要进行单独的测试？&lt;/p&gt;</description>
      <author>edgar_wang_cn</author>
      <pubDate>Sun, 05 May 2013 19:15:37 +0800</pubDate>
      <link>https://ruby-china.org/topics/10727</link>
      <guid>https://ruby-china.org/topics/10727</guid>
    </item>
  </channel>
</rss>
