<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>13684054420 (yuange)</title>
    <link>https://ruby-china.org/13684054420</link>
    <description/>
    <language>en-us</language>
    <item>
      <title>怎么让 请求某个 action 的日志不产生在 log 文件里</title>
      <description>&lt;p&gt;怎么让 请求某个 action 的日志不产生在 log 文件里。这个 action 长时大量请求，日志挤占了其它 action 的日志，很难看&lt;/p&gt;</description>
      <author>13684054420</author>
      <pubDate>Fri, 18 Jan 2019 16:51:39 +0800</pubDate>
      <link>https://ruby-china.org/topics/38018</link>
      <guid>https://ruby-china.org/topics/38018</guid>
    </item>
    <item>
      <title>运行 rails c 提示找到不到 gem 包，运行 rails s 却是正常的</title>
      <description>&lt;p&gt;&lt;img src="https://l.ruby-china.com/photo/2017/471c2e79-93be-4074-ab8e-e1c5938eab3f.jpg!large" title="" alt=""&gt;
&lt;img src="https://l.ruby-china.com/photo/2017/8b577afb-703c-448d-9497-2200ccf9c5ec.jpg!large" title="" alt=""&gt;
rails s 能正常运行，rails c 却提示找不到 declarative，
排查不了 原因，哪位大哥，给个建议？&lt;/p&gt;</description>
      <author>13684054420</author>
      <pubDate>Tue, 24 Oct 2017 12:33:59 +0800</pubDate>
      <link>https://ruby-china.org/topics/34422</link>
      <guid>https://ruby-china.org/topics/34422</guid>
    </item>
    <item>
      <title>请教各位大神个问题, create 的时候怎么跳过 before_create 呢</title>
      <description>&lt;p&gt;create 的时候怎么跳过 before_create 呢，,拜托各位大神啊&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;Employee&lt;/span&gt;
    &lt;span class="n"&gt;before_create&lt;/span&gt;  &lt;span class="k"&gt;do&lt;/span&gt; 
      &lt;span class="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;employee_category&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;employee&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;category&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;display_name&lt;/span&gt;
    &lt;span class="k"&gt;end&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;

&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;EmployeeImport&lt;/span&gt;
    &lt;span class="no"&gt;Employee&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;hash&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;EmployeeImport 里面的 create 怎么跳过 before_create 呢&lt;/p&gt;</description>
      <author>13684054420</author>
      <pubDate>Tue, 30 Aug 2016 11:02:39 +0800</pubDate>
      <link>https://ruby-china.org/topics/30931</link>
      <guid>https://ruby-china.org/topics/30931</guid>
    </item>
    <item>
      <title>一个关于 assert_equals 的问题</title>
      <description>&lt;p&gt;Test.assert_equals(vampire_test(21,6), true, "Basic: 21 * 6 = 126 should return true")
其中第二个参数“true”是什么意思呢&lt;/p&gt;</description>
      <author>13684054420</author>
      <pubDate>Tue, 31 May 2016 21:47:43 +0800</pubDate>
      <link>https://ruby-china.org/topics/30177</link>
      <guid>https://ruby-china.org/topics/30177</guid>
    </item>
  </channel>
</rss>
