锘??xml version="1.0" encoding="utf-8" standalone="yes"?>BlogJava-pengpenglinhttp://www.8634070.com/pengpenglin/浜猴紝蹇呴閫夋嫨涓绉嶇敓娲绘柟寮忓苟鏈夊媷姘斿潥鎸?#28051;?#37720;?/description>zh-cnTue, 26 Mar 2019 20:48:35 GMTTue, 26 Mar 2019 20:48:35 GMT60銆愯浆銆戝涓嬪鍔?/title><link>http://www.8634070.com/pengpenglin/archive/2012/02/18/370258.html</link><dc:creator>Paul Lin</dc:creator><author>Paul Lin</author><pubDate>Sat, 18 Feb 2012 10:57:00 GMT</pubDate><guid>http://www.8634070.com/pengpenglin/archive/2012/02/18/370258.html</guid><wfw:comment>http://www.8634070.com/pengpenglin/comments/370258.html</wfw:comment><comments>http://www.8634070.com/pengpenglin/archive/2012/02/18/370258.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/pengpenglin/comments/commentRss/370258.html</wfw:commentRss><trackback:ping>http://www.8634070.com/pengpenglin/services/trackbacks/370258.html</trackback:ping><description><![CDATA[<div><a href="http://firecacada.blog.163.com/blog/static/707437620114168314998/">http://firecacada.blog.163.com/blog/static/707437620114168314998/</a></div><img src ="http://www.8634070.com/pengpenglin/aggbug/370258.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/pengpenglin/" target="_blank">Paul Lin</a> 2012-02-18 18:57 <a href="http://www.8634070.com/pengpenglin/archive/2012/02/18/370258.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>銆愯浆銆戞诞浜?#28051;?#26473;?#23000;?/title><link>http://www.8634070.com/pengpenglin/archive/2012/02/18/370257.html</link><dc:creator>Paul Lin</dc:creator><author>Paul Lin</author><pubDate>Sat, 18 Feb 2012 10:27:00 GMT</pubDate><guid>http://www.8634070.com/pengpenglin/archive/2012/02/18/370257.html</guid><wfw:comment>http://www.8634070.com/pengpenglin/comments/370257.html</wfw:comment><comments>http://www.8634070.com/pengpenglin/archive/2012/02/18/370257.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/pengpenglin/comments/commentRss/370257.html</wfw:commentRss><trackback:ping>http://www.8634070.com/pengpenglin/services/trackbacks/370257.html</trackback:ping><description><![CDATA[     鎽樿: 鎹?#37721;?#29831;?#29831;达紝?#32139;浣犳壘鍒?#28051;?#28598;祴銆?#28051;?#37804;?#28729;屽?#23598;閰嶇殑宸?#28003;紝?#30048;鎭板澶勫湪涓婂崌鏈熺殑甯傚?#29492;紝鍏?#37721;?#37721;?#37819;愪緵浜?#36423;?#29781;佺殑鎺堟潈涓庤祫婧愶紝閭箞浣犲氨寰堝鏄撴垚鍔?#37510;?#37721;?#28052;嬶紝鑻?#26473;?#28051;夌偣涓殑浠?#28003;?#28051;?#20579;涓嶅尮閰紝閭箞浣犲氨鏄?#28051;猯oser銆?nbsp; <a href='http://www.8634070.com/pengpenglin/archive/2012/02/18/370257.html'>闃?#29831;?#37711;枃</a><img src ="http://www.8634070.com/pengpenglin/aggbug/370257.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/pengpenglin/" target="_blank">Paul Lin</a> 2012-02-18 18:27 <a href="http://www.8634070.com/pengpenglin/archive/2012/02/18/370257.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>銆愯浆銆?#37832;夋鏈夊彲?#20824;杩涜?#23677;?#23680;骇绠悊http://www.8634070.com/pengpenglin/archive/2012/02/18/370256.htmlPaul LinPaul LinSat, 18 Feb 2012 10:09:00 GMThttp://www.8634070.com/pengpenglin/archive/2012/02/18/370256.htmlhttp://www.8634070.com/pengpenglin/comments/370256.htmlhttp://www.8634070.com/pengpenglin/archive/2012/02/18/370256.html#Feedback0http://www.8634070.com/pengpenglin/comments/commentRss/370256.htmlhttp://www.8634070.com/pengpenglin/services/trackbacks/370256.htmlhttp://firecacada.blog.163.com/blog/static/70743762012027595383/

Paul Lin 2012-02-18 18:09 鍙戣璇勮
]]>
濡?#28003;?#37820;缓涓涓?#23480;?#28051;氱骇?#27537;Rails搴旂敤杩愯?#23680;?/title><link>http://www.8634070.com/pengpenglin/archive/2011/11/21/364445.html</link><dc:creator>Paul Lin</dc:creator><author>Paul Lin</author><pubDate>Mon, 21 Nov 2011 08:22:00 GMT</pubDate><guid>http://www.8634070.com/pengpenglin/archive/2011/11/21/364445.html</guid><wfw:comment>http://www.8634070.com/pengpenglin/comments/364445.html</wfw:comment><comments>http://www.8634070.com/pengpenglin/archive/2011/11/21/364445.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/pengpenglin/comments/commentRss/364445.html</wfw:commentRss><trackback:ping>http://www.8634070.com/pengpenglin/services/trackbacks/364445.html</trackback:ping><description><![CDATA[     鎽樿: 杩?#37828;?#28051;绡囬泦鐧惧涔嬮暱?#27537;?#29802;璁帮紝鍒?#37714;?#37721;傝?#27996;?#37510;奟ails3 in Action銆嬪拰 RVM瀹樻柟?#26499;妗紝ninjahideout.com 涔嬪悗?#27537;瀹?#29761;呮枃妗?#37510;?br/> <br> <br>杩欓噷浣跨敤鍒扮殑鍚?#32457;?#26462;?#28000;?#37718;呮嫭锛?br/> <br> <br> <ul> <br> <li>Ubuntu</li> <br> <li>Virtual Box</li> <br> <li>Vagrant</li> <br> <li>RVM</li> <br> <li>Capistrano</li> <br> <li>Passenger</li> <br> <li>Nginx</li> <br> <li>MySQL</li> <br> <li>PostgreSQL</li> <br></ul> <br> <br>杩樻?#22794;鍒Git銆丟itHub銆丼SH绛夋妧鏈?  <a href='http://www.8634070.com/pengpenglin/archive/2011/11/21/364445.html'>闃?#29831;?#37711;枃</a><img src ="http://www.8634070.com/pengpenglin/aggbug/364445.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/pengpenglin/" target="_blank">Paul Lin</a> 2011-11-21 16:22 <a href="http://www.8634070.com/pengpenglin/archive/2011/11/21/364445.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>Passenger+Nginx閰嶇疆鎽樿http://www.8634070.com/pengpenglin/archive/2011/11/13/363643.htmlPaul LinPaul LinSun, 13 Nov 2011 15:29:00 GMThttp://www.8634070.com/pengpenglin/archive/2011/11/13/363643.htmlhttp://www.8634070.com/pengpenglin/comments/363643.htmlhttp://www.8634070.com/pengpenglin/archive/2011/11/13/363643.html#Feedback1http://www.8634070.com/pengpenglin/comments/commentRss/363643.htmlhttp://www.8634070.com/pengpenglin/services/trackbacks/363643.html闃?#29831;?#37711;枃

Paul Lin 2011-11-13 23:29 鍙戣璇勮
]]>
RoR鏂?#28051;杞?#28699;?#28052;?#29825;?#37714;?/title><link>http://www.8634070.com/pengpenglin/archive/2011/11/03/362576.html</link><dc:creator>Paul Lin</dc:creator><author>Paul Lin</author><pubDate>Wed, 02 Nov 2011 16:17:00 GMT</pubDate><guid>http://www.8634070.com/pengpenglin/archive/2011/11/03/362576.html</guid><wfw:comment>http://www.8634070.com/pengpenglin/comments/362576.html</wfw:comment><comments>http://www.8634070.com/pengpenglin/archive/2011/11/03/362576.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/pengpenglin/comments/commentRss/362576.html</wfw:commentRss><trackback:ping>http://www.8634070.com/pengpenglin/services/trackbacks/362576.html</trackback:ping><description><![CDATA[<span style="font-family: Comic Sans MS; font-size: 10pt;"> </span><span style="font-family: Comic Sans MS; font-size: 10pt;">缁?#27996;庤浜嗗杩?涓?#37832;殑?#26882;闂达紝鎶?#37510;奓earn Rails3 by example銆嬬殑E?#26499;?#22679;鐪嬪畬浜嗭紝蹇?#28051;?#38317;?#28051;垚?#27688;鎰熷拰婊冻鎰熷晩~~</span><br /><br /><span style="font-family: Comic Sans MS; font-size: 10pt;">缁?#32513;?#28051;?#28051;杞殑閽堝鎬?#28699;?#28052;?#29825;?#37714;掞紝璁?#37714;?#37718;呮嫭锛?/span><br /><br /><span style="font-family: Comic Sans MS; font-size: 10pt;">1. Rails搴旂敤?#27537;?#20788;缃插拰鎬兘鐩戞帶</span><br /><br /><span style="font-family: Comic Sans MS; font-size: 10pt;">2. Rails?#27537;MVC鏋?#37835;勫拰Cache</span><br /><br /><span style="font-family: Comic Sans MS; font-size: 10pt;">3. JS?#25328;JS涓嶳ails?#27537;缁?#37722;?#28003;跨敤</span><br /><br /><span style="font-family: Comic Sans MS; font-size: 10pt;">4. Ruby?#27537;璇?#23049;?#37724;岀壒鎬?/span><br /><br /><span style="font-family: Comic Sans MS; font-size: 10pt;">5. MySQL閰嶇疆?#25328;冧</span><br /><br /><span style="font-family: Comic Sans MS; font-size: 10pt;">6. 鎼滅储寮曟搸?#25328;鎺?#38013;?#23534;曟搸?#27537;瀛?#28052;?/span><br /><br /><span style="font-family: Comic Sans MS; font-size: 10pt;">7. NoSQL涓撻</span><br /> <img src ="http://www.8634070.com/pengpenglin/aggbug/362576.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/pengpenglin/" target="_blank">Paul Lin</a> 2011-11-03 00:17 <a href="http://www.8634070.com/pengpenglin/archive/2011/11/03/362576.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>銆愯浆銆慉 Guide to a Nginx, Passenger and RVM Serverhttp://www.8634070.com/pengpenglin/archive/2011/11/03/362574.htmlPaul LinPaul LinWed, 02 Nov 2011 16:14:00 GMThttp://www.8634070.com/pengpenglin/archive/2011/11/03/362574.htmlhttp://www.8634070.com/pengpenglin/comments/362574.htmlhttp://www.8634070.com/pengpenglin/archive/2011/11/03/362574.html#Feedback0http://www.8634070.com/pengpenglin/comments/commentRss/362574.htmlhttp://www.8634070.com/pengpenglin/services/trackbacks/362574.html 鍏?#27996;嶳VM + REE + Ngix + Passenger + Capistrano?#27537;瀹?#29761;呴?#23943;疆?#32029;闈?#29999;?#29831;?#32513;?#38171;?#23534;?#37905;?#37818;?#38013;?/span>

http://blog.ninjahideout.com/posts/a-guide-to-a-nginx-passenger-and-rvm-server


Paul Lin 2011-11-03 00:14 鍙戣璇勮
]]>
Rspec 鏃犳硶鑷?#37716;reload model鐨勮鍐虫柟娉?/title><link>http://www.8634070.com/pengpenglin/archive/2011/09/06/358102.html</link><dc:creator>Paul Lin</dc:creator><author>Paul Lin</author><pubDate>Tue, 06 Sep 2011 06:21:00 GMT</pubDate><guid>http://www.8634070.com/pengpenglin/archive/2011/09/06/358102.html</guid><wfw:comment>http://www.8634070.com/pengpenglin/comments/358102.html</wfw:comment><comments>http://www.8634070.com/pengpenglin/archive/2011/09/06/358102.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.8634070.com/pengpenglin/comments/commentRss/358102.html</wfw:commentRss><trackback:ping>http://www.8634070.com/pengpenglin/services/trackbacks/358102.html</trackback:ping><description><![CDATA[<p><span style="font-family: Comic Sans MS; font-size: 10pt">?#28266;涓?#28051;绡?#37510;?/span><a title="鑷?#37716;?#37718;栨祴璇曠媯浜虹殑Rails?#31092;璇?#28028;?#37718;?#28052;嬭矾" href="http://www.8634070.com/pengpenglin/archive/2011/08/31/357613.html"><span style="font-family: Comic Sans MS; font-size: 10pt">鑷?#37716;?#37718;栨祴璇曠媯浜虹殑Rails?#31092;璇?#28028;?#37718;?#28052;嬭矾</span></a><span style="font-family: Comic Sans MS; font-size: 10pt">銆?#28051;紝鎴戞?#26050;浜嗗浣?#28003;跨敤Guard-spork, Guard-rspec?#25328;Spork, Rspec鏉?#26473;涜?#23683;嚜鍔?#37718;栨祴璇?#37724;岄泦鎴愭祴璇?#37510;?/span><br /><br /><span style="font-family: Comic Sans MS; font-size: 10pt">浠?#28598;?#37721;?#37916;板?#27194;湪涓涓猙ug?#32029;閭氨鏄綋model?#26499;浠?#29722;慨鏀?#37722;紝?#27367;鐒?#28028;?#38322;?#37826;板惎鍔rspec鎵?#29723;屾祴璇?#37510;?#28003;?#37828;祴璇曠殑浠爜涓?#37828;?#37832;鏂扮殑?#32029;?#37828;?#32513;?#32513;?#23052;跨敤宸?#32513;忓姞杞?#37714;板唴瀛樼殑model?#26499;浠?#37510;?#32515;?#28051;?#37820;滅储涓鐣?#37722;紝鍙?#37916;?#38338;?#26864;樼殑鍘熷?#29363;槸spork?#27537;棰?#37716;?#26462;?#38338;?#26864;?#37510;?#27996;?#37828;湪spork?#27537;spork.each_run?#26591;娉?#28051;?#37716;?#37711;?#28641;?#28051;?#28000;爜?#32029;閲?#37722;痵prok?#32029;?#37712;?#38338;?#26864;?/p> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /><span style="color: #000000">Dir[</span><span style="color: #000000">"</span><span style="color: #000000">#{Rails.root}/app/models/**/*.rb</span><span style="color: #000000">"</span><span style="color: #000000">].each </span><span style="color: #0000ff">do</span><span style="color: #000000"> </span><span style="color: #000000">|</span><span style="color: #000000">model</span><span style="color: #000000">|</span><span style="color: #000000"> <br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" />  load model<br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" />end<br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /></span></div> <p></span> </p><img src ="http://www.8634070.com/pengpenglin/aggbug/358102.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/pengpenglin/" target="_blank">Paul Lin</a> 2011-09-06 14:21 <a href="http://www.8634070.com/pengpenglin/archive/2011/09/06/358102.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>Rails?#27537;attr_accessible?#26591;娉曠殑?#37804;?#37911;?#37804;?/title><link>http://www.8634070.com/pengpenglin/archive/2011/09/03/357877.html</link><dc:creator>Paul Lin</dc:creator><author>Paul Lin</author><pubDate>Sat, 03 Sep 2011 04:51:00 GMT</pubDate><guid>http://www.8634070.com/pengpenglin/archive/2011/09/03/357877.html</guid><wfw:comment>http://www.8634070.com/pengpenglin/comments/357877.html</wfw:comment><comments>http://www.8634070.com/pengpenglin/archive/2011/09/03/357877.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.8634070.com/pengpenglin/comments/commentRss/357877.html</wfw:commentRss><trackback:ping>http://www.8634070.com/pengpenglin/services/trackbacks/357877.html</trackback:ping><description><![CDATA[<p><span style="font-family: Comic Sans MS; font-size: 10pt">鍋?#28641;?#37812;戜滑鎶奱ttr_accessible璁剧疆?#22426;鍙?#37832;塶ame鏄?#37721;?#28000;?#29825;?#38338;殑?#32029;鐒?#37722;庡湪Console涓?#37813;?#29723;屽涓嬪懡浠?#38171;?/span></p> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">ruby</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">-</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">1.9</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">.</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">2</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">-</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">p180 :</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">001</span><span style="color: #000000"> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt"> user </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">=</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt"> User.create(:name </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">=></span><span style="color: #000000"> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">Paul</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">, :email </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">=></span><span style="color: #000000"> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">pengpenglin@163.com</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">)<br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">=></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt"> #</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt"><</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">User id: </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">1</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">, name: </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">Paul</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">, email: nil, created_at: </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">2011-09-03 04:42:59</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">, updated_at: </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">2011-09-03 04:42:59</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">></span><span style="color: #000000"> <br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">ruby</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">-</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">1.9</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">.</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">2</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">-</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">p180 :</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">002</span><span style="color: #000000"> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt"> user.email<br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">=></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt"> nil <br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">ruby</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">-</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">1.9</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">.</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">2</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">-</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">p180 :</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">003</span><span style="color: #000000"> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt"> user.email </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">=</span><span style="color: #000000"> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">bob@163.com</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="color: #000000"><br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">=></span><span style="color: #000000"> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">bob@163.com</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="color: #000000"> <br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">ruby</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">-</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">1.9</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">.</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">2</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">-</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">p180 :</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">004</span><span style="color: #000000"> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt"> user.email<br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">=></span><span style="color: #000000"> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">bob@163.com</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="color: #000000"> <br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">ruby</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">-</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">1.9</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">.</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">2</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">-</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">p180 :</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">005</span><span style="color: #000000"> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt"> user.save<br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">=></span><span style="color: #000000"> </span><span style="font-family: Comic Sans MS; color: #0000ff; font-size: 10pt">true</span><span style="color: #000000"> <br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">ruby</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">-</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">1.9</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">.</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">2</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">-</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">p180 :</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">006</span><span style="color: #000000"> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt"> user.reload.email<br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">=></span><span style="color: #000000"> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">bob@163.com</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="color: #000000"> <br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">ruby</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">-</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">1.9</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">.</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">2</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">-</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">p180 :</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">007</span><span style="color: #000000"> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt"> User.find(</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">1</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">)<br /><img alt="" align="top" src="http://www.8634070.com/images/OutliningIndicators/None.gif" /> </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">=></span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt"> #</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt"><</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">User id: </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">1</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">, name: </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">Paul</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">, email: </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">bob@163.com</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">, created_at: </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">2011-09-03 04:42:59</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">, updated_at: </span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">2011-09-03 04:43:31</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">"</span><span style="font-family: Comic Sans MS; color: #000000; font-size: 10pt">></span><span style="color: #000000"> </span></div> <p><span style="font-family: Comic Sans MS; font-size: 10pt">涓?#37828;not accessible 鍚?#38171;?#37804;庝箞email杩?#37828;兘澶?#37824;?#37721;?#38171;?/span></p><img src ="http://www.8634070.com/pengpenglin/aggbug/357877.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.8634070.com/pengpenglin/" target="_blank">Paul Lin</a> 2011-09-03 12:51 <a href="http://www.8634070.com/pengpenglin/archive/2011/09/03/357877.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣璇勮</a></div>]]></description></item><item><title>鑷?#37716;?#37718;栨祴璇曠媯浜虹殑Rails?#31092;璇?#28028;?#37718;?#28052;嬭矾http://www.8634070.com/pengpenglin/archive/2011/08/31/357613.htmlPaul LinPaul LinTue, 30 Aug 2011 16:44:00 GMThttp://www.8634070.com/pengpenglin/archive/2011/08/31/357613.htmlhttp://www.8634070.com/pengpenglin/comments/357613.htmlhttp://www.8634070.com/pengpenglin/archive/2011/08/31/357613.html#Feedback1http://www.8634070.com/pengpenglin/comments/commentRss/357613.htmlhttp://www.8634070.com/pengpenglin/services/trackbacks/357613.html A. Gemfile
B. .rspec
C. Guardfile
D. rspec_helper.rb  闃?#29831;?#37711;枃

Paul Lin 2011-08-31 00:44 鍙戣璇勮
]]>
˫ɫֱ
<div id="k0jz6"><tr id="k0jz6"></tr></div>
    <sup id="k0jz6"><menu id="k0jz6"><small id="k0jz6"></small></menu></sup>
    <div id="k0jz6"><tr id="k0jz6"><mark id="k0jz6"></mark></tr></div><em id="k0jz6"></em>
    <dl id="k0jz6"><ins id="k0jz6"></ins></dl><dl id="k0jz6"></dl>
      <div id="k0jz6"></div>

      <sup id="k0jz6"></sup><dl id="k0jz6"><ins id="k0jz6"><thead id="k0jz6"></thead></ins></dl>
        <div id="k0jz6"><tr id="k0jz6"></tr></div>
          <sup id="k0jz6"><menu id="k0jz6"><small id="k0jz6"></small></menu></sup>
          <div id="k0jz6"><tr id="k0jz6"><mark id="k0jz6"></mark></tr></div><em id="k0jz6"></em>
          <dl id="k0jz6"><ins id="k0jz6"></ins></dl><dl id="k0jz6"></dl>
            <div id="k0jz6"></div>

            <sup id="k0jz6"></sup><dl id="k0jz6"><ins id="k0jz6"><thead id="k0jz6"></thead></ins></dl>