<?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>《《Agile Web Development with Rails》抄书笔记(07)：数据校验》的评论</title>
	<atom:link href="https://wordpress.diguage.com/archives/13.html/feed" rel="self" type="application/rss+xml" />
	<link>https://wordpress.diguage.com/archives/13.html</link>
	<description>分享技术带来的喜悦—https://www.diguage.com/</description>
	<lastBuildDate>Thu, 11 Jun 2020 02:02:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>作者：zhouleyu</title>
		<link>https://wordpress.diguage.com/archives/13.html#comment-22754</link>
		<dc:creator>zhouleyu</dc:creator>
		<pubDate>Mon, 28 Apr 2014 05:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.diguage.com/?p=13#comment-22754</guid>
		<description>在Rails4中，attr_accessible这种方式被废了，你查查最新的方式是怎么样的吧</description>
		<content:encoded><![CDATA[<p>在Rails4中，attr_accessible这种方式被废了，你查查最新的方式是怎么样的吧</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：D瓜哥</title>
		<link>https://wordpress.diguage.com/archives/13.html#comment-10366</link>
		<dc:creator>D瓜哥</dc:creator>
		<pubDate>Thu, 05 Sep 2013 09:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.diguage.com/?p=13#comment-10366</guid>
		<description>在Rails4中，attr_accessible这种方式被废了，你查查最新的方式是怎么样的吧。变化很大的。呵呵</description>
		<content:encoded><![CDATA[<p>在Rails4中，attr_accessible这种方式被废了，你查查最新的方式是怎么样的吧。变化很大的。呵呵</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：topcat</title>
		<link>https://wordpress.diguage.com/archives/13.html#comment-10365</link>
		<dc:creator>topcat</dc:creator>
		<pubDate>Thu, 05 Sep 2013 08:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.diguage.com/?p=13#comment-10365</guid>
		<description>如果使用Rails4的话在非空校验那里attr_accessible这个会报错
在官网说明中到看下面
Rails 4.0 has removed attr_accessible and attr_protected feature in favor of Strong Parameters. You can use the Protected Attributes gem for a smooth upgrade path.
所以我们要到我们项目的Gemfile文件里添加一行gem &#039;protected_attributes&#039;，再次运行bundle。或是使用gem install protected_attributes命令安装protected_attributes</description>
		<content:encoded><![CDATA[<p>如果使用Rails4的话在非空校验那里attr_accessible这个会报错<br />
在官网说明中到看下面<br />
Rails 4.0 has removed attr_accessible and attr_protected feature in favor of Strong Parameters. You can use the Protected Attributes gem for a smooth upgrade path.<br />
所以我们要到我们项目的Gemfile文件里添加一行gem &#8216;protected_attributes&#8217;，再次运行bundle。或是使用gem install protected_attributes命令安装protected_attributes</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：《Agile Web Development with Rails》抄书笔记(08)：单元测试 &#124; &#34;地瓜哥&#34;博客网</title>
		<link>https://wordpress.diguage.com/archives/13.html#comment-4451</link>
		<dc:creator>《Agile Web Development with Rails》抄书笔记(08)：单元测试 &#124; &#34;地瓜哥&#34;博客网</dc:creator>
		<pubDate>Mon, 24 Jun 2013 15:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.diguage.com/?p=13#comment-4451</guid>
		<description>[...] 　　不过，现在RSpec是一个Ruby中一个更加流行的测试包。上一节，&#8220;《Agile Web Development with Rails》抄书笔记(07)：数据校验&#8221;中提到的“Ruby on Rails Tutorial中文版”教程，就是用RSpec来做测试的。感兴趣的，可以看看。这里还有两个资料： [...]</description>
		<content:encoded><![CDATA[<p>[...] 　　不过，现在RSpec是一个Ruby中一个更加流行的测试包。上一节，&#8220;《Agile Web Development with Rails》抄书笔记(07)：数据校验&#8221;中提到的“Ruby on Rails Tutorial中文版”教程，就是用RSpec来做测试的。感兴趣的，可以看看。这里还有两个资料： [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：《Agile Web Development with Rails》抄书笔记(10)：创建购物车 &#124; &#34;地瓜哥&#34;博客网</title>
		<link>https://wordpress.diguage.com/archives/13.html#comment-3000</link>
		<dc:creator>《Agile Web Development with Rails》抄书笔记(10)：创建购物车 &#124; &#34;地瓜哥&#34;博客网</dc:creator>
		<pubDate>Fri, 24 May 2013 09:02:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.diguage.com/?p=13#comment-3000</guid>
		<description>[...] 《Agile Web Development with Rails》抄书笔记(07)：数据校验  [...]</description>
		<content:encoded><![CDATA[<p>[...] 《Agile Web Development with Rails》抄书笔记(07)：数据校验  [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: https://www.w3-edge.com/products/

Object Caching 228/268 objects using disk
Page Caching using disk: enhanced (SSL caching disabled)
Database Caching using disk

 Served from: wordpress.diguage.com @ 2026-04-23 22:47:15 by W3 Total Cache -->