<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>lzj_ykds</title>
    <link>https://ruby-china.org/lzj_ykds</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>我在进行后台处理的时候需要经过前台确认然后在继续进行处理，怎么实现</title>
      <description>&lt;p&gt;比如咱们论坛，有个 topics，现在我想实现一个功能：就是显示一个界面，有起始日期和结束日期、数据导出按钮，当点击导出按钮时，先在后台计算有多少帖子数，然后前台界面提示一下帖子数量，让操作人员确认是否需要导出，如果点击是，数据导出到 excel，否则就结束。数据导出什么的都没有问题，就是前台确认这块不知道怎么弄。&lt;/p&gt;</description>
      <author>lzj_ykds</author>
      <pubDate>Wed, 14 Oct 2015 09:43:07 +0800</pubDate>
      <link>https://ruby-china.org/topics/27662</link>
      <guid>https://ruby-china.org/topics/27662</guid>
    </item>
    <item>
      <title>想改变 Rails 生成的表的默认主键的数据类型怎么弄</title>
      <description>&lt;p&gt;我想建一个表，比如在 sqlite 中，系统会默认增加 id 列为主键，类型为整型。但是现在我想改变这个 id 的数据类型为字符串型，列的名字不用改变，migrate 的那个文件怎么写好。&lt;/p&gt;</description>
      <author>lzj_ykds</author>
      <pubDate>Fri, 26 Jun 2015 14:18:57 +0800</pubDate>
      <link>https://ruby-china.org/topics/26194</link>
      <guid>https://ruby-china.org/topics/26194</guid>
    </item>
    <item>
      <title>论坛源码运行时页面上显示的执行时间是在哪控制的</title>
      <description>&lt;p&gt;如题，找了挺长时间没找到&lt;/p&gt;</description>
      <author>lzj_ykds</author>
      <pubDate>Wed, 10 Jun 2015 19:22:51 +0800</pubDate>
      <link>https://ruby-china.org/topics/25964</link>
      <guid>https://ruby-china.org/topics/25964</guid>
    </item>
    <item>
      <title>用淘宝的源安装 Rails 报错</title>
      <description>&lt;p&gt;ERROR:  While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
    no such name (&lt;a href="http://ruby.taobao.org/gems/loofah-2.0.2.gem" rel="nofollow" target="_blank"&gt;http://ruby.taobao.org/gems/loofah-2.0.2.gem&lt;/a&gt;)&lt;/p&gt;</description>
      <author>lzj_ykds</author>
      <pubDate>Mon, 08 Jun 2015 16:36:51 +0800</pubDate>
      <link>https://ruby-china.org/topics/25929</link>
      <guid>https://ruby-china.org/topics/25929</guid>
    </item>
    <item>
      <title>发布和回复的时间不见了</title>
      <description>&lt;p&gt;如题&lt;/p&gt;</description>
      <author>lzj_ykds</author>
      <pubDate>Thu, 25 Apr 2013 16:02:27 +0800</pubDate>
      <link>https://ruby-china.org/topics/10501</link>
      <guid>https://ruby-china.org/topics/10501</guid>
    </item>
    <item>
      <title>ruby-dbi 0.4.5 连接 oracle 的问题</title>
      <description>&lt;p&gt;我系统 winxp  安装了 ruby2.0  和 ruby-oci8 (2.1.5 x86-mingw32)
dbi (0.4.5) 但是在使用的时候有点问题，现在能够确认是 DBI 的问题&lt;/p&gt;

&lt;p&gt;我有几个疑问，为什么在&lt;a href="http://rubyforge.org/projects/ruby-dbi/" rel="nofollow" target="_blank"&gt;http://rubyforge.org/projects/ruby-dbi/&lt;/a&gt; 这个网站看不见 dbi 0.4.5 这个版本，只有 0.4.3 这个版本，在这个 project 下的论坛问问题也没人回答，是不是不推荐使用 dbi 了。
另外我在 ruby-oci8 这个项目的论坛发帖提问得到的回复，暂时好像解决问题了&lt;/p&gt;

&lt;p&gt;下面是回复
This isn't a ruby-oci8 issue.
You need to report this issue to the ruby-dbi project to work with ruby 2.0.0.&lt;/p&gt;

&lt;p&gt;"RUBY_VERSION =~ /^1.9/" in lib/dbi/row.rb should be changed to "RUBY_VERSION !~ /^1.8/".&lt;/p&gt;</description>
      <author>lzj_ykds</author>
      <pubDate>Wed, 24 Apr 2013 09:04:40 +0800</pubDate>
      <link>https://ruby-china.org/topics/10450</link>
      <guid>https://ruby-china.org/topics/10450</guid>
    </item>
  </channel>
</rss>
