<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>lzding (lzding)</title>
    <link>https://ruby-china.org/lzding</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>各位大神，是我的姿势不正确吗？</title>
      <description>&lt;p&gt;&lt;img src="https://l.ruby-china.com/photo/2019/034e5500-d65a-490c-aacf-bab81c524a71.png!large" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;字符串 : fc03bb56-6c12-48fb-b47e-4c266fe57c43&lt;/p&gt;</description>
      <author>lzding</author>
      <pubDate>Wed, 23 Jan 2019 10:05:11 +0800</pubDate>
      <link>https://ruby-china.org/topics/38034</link>
      <guid>https://ruby-china.org/topics/38034</guid>
    </item>
    <item>
      <title>Rails 5 ActionController::Parameters 问题</title>
      <description>&lt;p&gt;大家好，我在开发中遇到一个问题，希望高手指导一下。问题是这样的：
我用的 gem 'will_paginate', '~&amp;gt; 3.1.0'做的分页功能，又加了一个 search 方法做搜索功能，前面都是 OK 的，在使用搜索功能之后，页面也是正常的，但是我审查页面元素时发现了问题，如下图：&lt;img src="https://l.ruby-china.com/photo/2016/ec171a1f01f2b354334f048135f6d88c.png!large" title="" alt=""&gt;
图中所看到的下一页的链接（/downtime_records/search?downtime_record=%23%3CActionController%3A%3AParameters%3A0x007fab4043d300%3E&amp;amp;page=2）有问题，但是我不知道是怎么生成的，当我点击下一页的时候，后台无法解析这个参数就报错了，报错如图：&lt;img src="https://l.ruby-china.com/photo/2016/6a6866c57df9746e2773d36a0734fd9a.png!large" title="" alt=""&gt;
&lt;img src="https://l.ruby-china.com/photo/2016/1299e450247c3c14c61ce5dc38b803d0.png!large" title="" alt=""&gt;&lt;/p&gt;</description>
      <author>lzding</author>
      <pubDate>Wed, 14 Sep 2016 17:17:54 +0800</pubDate>
      <link>https://ruby-china.org/topics/31070</link>
      <guid>https://ruby-china.org/topics/31070</guid>
    </item>
    <item>
      <title>Grape 写 API 发送文件</title>
      <description>&lt;p&gt;现在项目中需要提供 API 接口给苹果 IPod 中的客户端 APP 调用，用 Grape 来写 API。其中有一个需求是对方系统发送给我一些参数，我产生一个文件发还给对方。我看了下 Grape 的介绍，发现没有 send_file 方法。现在正准备 API 返回文件的 URL，让 APP 自己去下载，但是有直接的方式达到目的吗？&lt;/p&gt;</description>
      <author>lzding</author>
      <pubDate>Tue, 14 Jun 2016 12:41:30 +0800</pubDate>
      <link>https://ruby-china.org/topics/30279</link>
      <guid>https://ruby-china.org/topics/30279</guid>
    </item>
  </channel>
</rss>
