<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Rails: 建立Permalink，避免流水號洩漏網站資料</title>
	<atom:link href="http://punk.tw/2007/10/06/340.html/feed" rel="self" type="application/rss+xml" />
	<link>http://punk.tw/2007/10/06/340.html</link>
	<description>網際叛客：學習心得、Web 2.0與網路觀察、Google應用與技術、Ruby on Rails, Google App Engine</description>
	<lastBuildDate>Mon, 06 Sep 2010 09:19:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: 在Rails 2.0中如何避免在URL使用資料流水號 - Cyberpunk</title>
		<link>http://punk.tw/2007/10/06/340.html/comment-page-1#comment-8589</link>
		<dc:creator>在Rails 2.0中如何避免在URL使用資料流水號 - Cyberpunk</dc:creator>
		<pubDate>Mon, 28 Apr 2008 19:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://punk.tw/2007/10/06/340.html#comment-8589</guid>
		<description>[...] 我曾寫過一篇「Rails: 建立Permalink，避免流水號洩漏網站資料」針對有人擔心（或質疑）Ruby on Rails中以資料表主鍵流水號作為URL中的參數，會導致網站洩漏某些不希望被外界一眼看穿的資訊，例如使用者總數或文章總數之類的數據，因此簡單地透過Model在存取資料庫時的before_create方法建立每一筆資料的unique key來避免這個問題。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 我曾寫過一篇「Rails: 建立Permalink，避免流水號洩漏網站資料」針對有人擔心（或質疑）Ruby on Rails中以資料表主鍵流水號作為URL中的參數，會導致網站洩漏某些不希望被外界一眼看穿的資訊，例如使用者總數或文章總數之類的數據，因此簡單地透過Model在存取資料庫時的before_create方法建立每一筆資料的unique key來避免這個問題。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: winson</title>
		<link>http://punk.tw/2007/10/06/340.html/comment-page-1#comment-5394</link>
		<dc:creator>winson</dc:creator>
		<pubDate>Sun, 04 Nov 2007 16:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://punk.tw/2007/10/06/340.html#comment-5394</guid>
		<description>多謝，受益良多。

您的before_create callback是不是應該設成protected比較好？</description>
		<content:encoded><![CDATA[<p>多謝，受益良多。</p>
<p>您的before_create callback是不是應該設成protected比較好？</p>
]]></content:encoded>
	</item>
</channel>
</rss>
