<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="/xslt/rss2.xsl" media="screen"?>
<rss version="2.0"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Latest from ChinaonRails: chengdh</title>
		<link>http://chinaonrails.com/u/chengdh</link>
		<description>ChinaonRails | ChinaonRails are one of the very few China based web consultancies, who specialize in application development using RubyOnRails/Agile/Ajax.</description>
		<category>Technology</category>
		<language>zh_cn</language>
		<item>
			<title>请高手看看这段写法的意思 ... 1 reply</title>
			<link>http://chinaonrails.com/topic/view/4361.html</link>
			<comments>http://chinaonrails.com/topic/view/4361.html#reply</comments>
			<dc:creator>chengdh</dc:creator>
			<author>chengdh</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_1.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_n.gif" type="image/jpeg" />-->
			<category>Ask</category>
			<description>
			io = open(picture_www.external_url)&lt;br /&gt;
def io.original_filename; base_uri.path.split('/').last; end&lt;br /&gt;
  io.original_filename.blank? ? nil : io&lt;br /&gt;
  picture_www.image = io&lt;br /&gt;
&lt;br /&gt;
这段代码的意思是打开某个网络上的图片，然后下载到本地，赋值给一个model对象,不明白的是&lt;br /&gt;
def io.original_filename; base_uri.path.split('/').last; end&lt;br /&gt;
这段写法的意思和作用，请高手解答
			</description>
			<pubDate>Thu, 26 Aug 2010 14:54:07 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/4361.html</guid>
		</item>
		<item>
			<title>Rails中有无办法将一个网络上的文件当作本地文件进行处理？ ... 5 replies</title>
			<link>http://chinaonrails.com/topic/view/4335.html</link>
			<comments>http://chinaonrails.com/topic/view/4335.html#reply</comments>
			<dc:creator>chengdh</dc:creator>
			<author>chengdh</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_1.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_n.gif" type="image/jpeg" />-->
			<category>Ask</category>
			<description>
			比如读，转换为bytes等等？
			</description>
			<pubDate>Thu, 19 Aug 2010 17:35:16 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/4335.html</guid>
		</item>
		<item>
			<title>字符串问题 ... 2 replies</title>
			<link>http://chinaonrails.com/topic/view/4246.html</link>
			<comments>http://chinaonrails.com/topic/view/4246.html#reply</comments>
			<dc:creator>chengdh</dc:creator>
			<author>chengdh</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_1.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_n.gif" type="image/jpeg" />-->
			<category>Ask</category>
			<description>
			像这样的字符串&lt;br /&gt;
"\x154\xE23?\xF2\xA7\xFF\x1A\xF8\x1FsJ\xF7[\a"&lt;br /&gt;
是什么意思？如何转换成ascii码
			</description>
			<pubDate>Fri, 30 Jul 2010 10:58:47 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/4246.html</guid>
		</item>
		<item>
			<title>MD5.digest返回值的问题 ... 6 replies</title>
			<link>http://chinaonrails.com/topic/view/4243.html</link>
			<comments>http://chinaonrails.com/topic/view/4243.html#reply</comments>
			<dc:creator>chengdh</dc:creator>
			<author>chengdh</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_1.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_n.gif" type="image/jpeg" />-->
			<category>Ask</category>
			<description>
			比如：&lt;br /&gt;
Digest::MD5.digest("chengdh")&lt;br /&gt;
返回值为 &lt;br /&gt;
"\x154\xE23?\xF2\xA7\xFF\x1A\xF8\x1FsJ\xF7[\a"&lt;br /&gt;
而使用MD5工具测试，返回值为&lt;br /&gt;
3ff2a7ff1af81f7&lt;br /&gt;
请高手帮我看看&lt;br /&gt;
ruby 的返回值是什么意思，为什么不同
			</description>
			<pubDate>Fri, 30 Jul 2010 08:20:03 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/4243.html</guid>
		</item>
		<item>
			<title>大家有没有想创业的，谈谈想法 ... 4 replies</title>
			<link>http://chinaonrails.com/topic/view/3756.html</link>
			<comments>http://chinaonrails.com/topic/view/3756.html#reply</comments>
			<dc:creator>chengdh</dc:creator>
			<author>chengdh</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_1.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_n.gif" type="image/jpeg" />-->
			<category>Ask</category>
			<description>
			公司在技术上想基于rails&lt;br /&gt;
业务上想做一些在线的业务应用，目前瞄准小的物流企业的业务管理&lt;br /&gt;
有志同道和的，谈谈看法
			</description>
			<pubDate>Wed, 24 Feb 2010 16:19:00 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3756.html</guid>
		</item>
		<item>
			<title>用RAILS3开发物流零担系统，招募合作者 ... 8 replies</title>
			<link>http://chinaonrails.com/topic/view/3749.html</link>
			<comments>http://chinaonrails.com/topic/view/3749.html#reply</comments>
			<dc:creator>chengdh</dc:creator>
			<author>chengdh</author>
			<!--<enclosure url="http://chinaonrails.com/img/p_1.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_n.gif" type="image/jpeg" />-->
			<category>Rails</category>
			<description>
			用rails开发零担物流软件，打算在线运营，已做了部分原型，有兴趣的跟帖
			</description>
			<pubDate>Tue, 23 Feb 2010 11:45:09 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/3749.html</guid>
		</item>
	</channel>
</rss>