2007-01-01ãã1ã¶æéã®è¨äºä¸è¦§
æ»ãå¤ã¯åé¤ä»¶æ°ã£ã½ããããã®æåã¯é常ã«ç´å¾ãè¡ãã¨ããã常èçãªãã®ã§ãããã¨ã¯ããã£ãä¸ã§ãã©ããã§å®ç¾©ããã¦ãªãã®ããªããã¨ãAWDwRãã¿ããæ¥æ¬èª, 2ndã®ä¸¡æ¹ã§ãã©ããããã¯ã¢ããã¿ä»»ãã£ã¦æ¸ãã¦ãã£ããæ®å¿µã
ä¾ã«ãã£ã¦æ¼ä¼ã¿ã«é åºãã¦è³¼å ¥ãã¦ãã¨ã¼ã«é£ã¹ããã¨ãããã¼ãã§ã§èªã¿ãµãããæ¥æ¬æ²æ²¡ 5 æ¨è«ã帰çµã¹ã (ããã°ã³ããã¯ã¹)ä½è : å°æ¾å·¦äº¬,ä¸è²ç»å¸å½¦åºç社/ã¡ã¼ã«ã¼: å°å¦é¤¨çºå£²æ¥: 2007/01/30ã¡ãã£ã¢: ã³ãã㯠ã¯ãªãã¯: 6åãã®ååãå«ãããâ¦
http://jp.rubyist.net/RubyKaigi2007/CallForPresentations.htmlRuby ä¼è°ã« CFP åºãã¾ãããRails ã«ãã Web1.0 éçºãå 容ã¯ã¬ãã RailsãRails ã使ã£ã¦å¤å¼ããããæ¥åç³»éçºããçµé¨è«ãJSON ãªã«ããï¼ã¿ãããªãå ¨ç¶ã¨ãã¸ãããªãã®ã§è½é¸ãã¦â¦
èªå® ã® MacBook ã®èª¿åããªãããã¾ãã¡ããªãã¨ããã«ã¡ãã£ã¨å°ãæ°å³ã ãã¾ã«èµ·åããªããå³ä¸ã®ã¹ãªã¼ãã©ã³ããç¹ããã¾ã¾æ¢ã¾ããèµ·åé³ããªãã ä¸è¦æ®éã«èµ·åããããã©ããæç· LAN ãæ»ãã§ããããã®å´ã®éé»ãã¦ããã©ã³ããã¤ããªãããifconâ¦
ã¿ã¤ãã«ãå ¨ã¦ã§ããä»æ¥ç¥ãã¾ããã ããã©ã¼ãã³ã¹ãå³ããã¨ãã5 ãã¼ãã«ãããçµåãããã¨ããããããã¨ãããããªãã£ãã®ãæããªã®ã§ç²ã ã¨éæ¹åã« LEFT JOIN ãã¾ãã
ç§çã¡ã¢ã Rails 1.2.x ã§å°å ¥ããã assert_select 㯠response ã«å«ã¾ããã¨ã¬ã¡ã³ãã CSS å½¢å¼ã§æå®ã§ããã¨ããããããã®ã ã§ãRSpec on Rails ãããã¾ã API ãä¸å®å®*1ãªããã使ãããã§ããããã® API ãã¾ãå¤ããã¾ããã(r1399:r1419 ã®ã©â¦
Rails åå¼·ä¼è¡ããªãã¦ç³ã訳ããã¾ããã§ãããããããã¾ã§ä½èª¿ã¯å復ä¸ãããã¹ã¿ã§è¨ãã¨ããã®ãå°ããã¤èª¿åã¯ãããããã§ãããã¶ãã
ã³ã©ãã¬ã¼ã¿ãå¤ã㦠fake ããã®ãããã¸ãã ã£ããã©ãä¸è¨ã§ããã¾ããã¨ããã¡ã¢ã ç¡çç¢çæãé«ãã setup do controller = ApplicationController.new controller.stub!(:params).and_return(:page => 1) assigns[:user_pages], assigns[:users] = â¦
æ£ããéã®ã㯠integration test ãæ¸ãã¦ãfake ãããªããã¦ãview 㨠controller 㨠model ãããããå¿ è¦ã«å¿ãã¦ãã¹ãããã°ãããã ãããã©ãæ¯è¼çç°¡åãªã¨ããã¯integration test â controller ã®å®è£ ãã¨ãããã¹ã§ååãªæ°ããããã§ãããããâ¦
1.2.0 ãã§ãã¨æã£ããä¸é¨ã®äºæ³éã 1.2.1 ãã§ã¡ãã£ã¦ã¾ããã ã§ãæãä»äºã¢ããªãããããåé¡ãªãåãã¾ãããã¾ããã§ã« 1.2 rc2 ã§ä½ã£ã¦ããã®ãªãã§å½ç¶ã¨ããã°å½ç¶ã§ããããã§ãããå®éã«ã©ããããã¯å¥éãã¹ã¨ç¸è«ã
ã©ã¡ãã Dave Astel ã«ãããè±èªã§ããããããããè¦ãã§ãã RSpec ã®cheat sheet http://blog.daveastels.com/articles/2006/09/09/rspec-cheat-sheet ä»æ¥è¦ä»ãããã§ãããåºæ¬çãªä½¿ããããä¹ã£ã¦ãã®ã§ããæãã§ããå æ¥ã®ç§ã®ã¨ã³ããªããããâ¦
ã¨ãããã¨ãè¨ã£ã¨ããªãããããä¸é±éã»ã©ã諸æ©å®¶ã§ã¯é¢¨éªæ風ãå¹ãèãã¦ã¾ãã妻ãå é±éæããä»é±ææã¾ã§4æ¥éãå¯è¾¼ãã ããã¤ãã«æ¨æ¥ãããããç§ãåãå± ãããªã£ã¦ããããã¨ãªããªãããã¼ãªç¶æ³ã§ãããã¸ããç¬ãæ®ãã ã¨é¢¨éªå¼ãã¨å¤§å¤ãâ¦
åéãå§ã¾ã£ã¦ã¾ããç¾æç¹ã§22åãæ¨å¹´11æãããã¾ã§ç¶ãã¦ãã人æ°ã®å¤§å¹ ãªå»¶ã³ã¯ã²ã¨æ®µè½ã¨ããã¨ããã§ãããããã¾ã 人æ°ã«ã¯ä½è£ãããã¾ãã®ã§æ¤è¨ä¸ã®æ¹ã¯ã©ãããhttp://wiki.fdiary.net/rails/?RailsMeetingTokyo-0014RSpec ã®è©±ã¯å¼ãç¶ã好è©â¦
ãã£ã½ããã·ã¢ã¯ã¢ã³ã«ã¼ã使ã£ããããããã§ãããAjax ã§ç»é¢ãæ¸ãæãããã¨ã«ãæ°ãããããããé ç®ã¸ç§»åãããããªãã¦å ´åã¯ããªãããæãã§ããªãèæ³¢ä¹ã
å é±æ°ã¥ãã¦ããã°ãã£ã¨æ¥½ã«ã§ããã®ã«ã軽ãã¯ã¾ã£ãã¨ããã®è§£æ±ºæ³ã¯ãã§ã«æ¬å®¶ããã¥ã¡ã³ãã«ããã¾ãããããã¿ã¾ããï¼ãã¹ context "循ç°å°æ° (1 / 3.0) ã®specãæ¸ãå ´å" do specify "0.33 ã«è¿ãã誤差㯠0.004 以ä¸ã§ãããã¨" do ( 1 / 3.0 ).sâ¦
http://d.hatena.ne.jp/ogijun/20070110/p2ãã®ããããæããã¾ããªããæ°ã«ãªããã²ã©ããå¿ ãããã¨ã§æ¸ãã¦ãã ããã¾ãã
質åï¼iPhoneã§ã¯Mac OS Xã稼åãã¦ããããã ãï¼OS Xç¨ã®ã¢ããªã±ã¼ã·ã§ã³ãã¦ã¼ã¶ã¼ãèªç±ã«ã¤ã³ã¹ãã¼ã«ã§ããã®ããã¦ã£ã¼ã¢ãã°æ°ï¼ã§ããªããiPhoneã¯ã¯ãã¼ãºãã»ãã©ãããã©ã¼ã ã ãããã¯ï¼ã»ãã¥ãªãã£ã®è¦ä»¶ã«ãããã³ã³ãã¥ã¼ã¿ã»ã¦ã¤ã«ã¹ãªâ¦
æ£æã®ã¤ãã³ãç®ç½æ¼ããã¾ã ç¶ãã¦ãããªé±æ«ãæ¨æ¥ã¯ä»å°ããå¼ããã£ã¦ãã¦æ³ã¾ã£ã¦ãã¾ããããã¾ã®æã家ã¸ã®å(!)客ã§ãããããã§å¹´æ«ããããããã¨æé¤ãã*1ãæ¼å ¥ã®ä¸ã®å¸å£ãå¹²ãããããã®ã§ãããã§äººæ§ãå¼ã¹ãä½å¶ãæ´ãã¤ã¤ããã¾ããã¡ãâ¦
ä¸è¨ã®ç¶ãã§ããã§ãæ¿ããã«ã¬ã³ã¿ã«ãµã¼ãã«åæ¿ããããã¨ãããã¨ã§ããããæ¢ãã¦ã¿ãã¨ããããããã®ãã¿ã¤ãã¾ããã ã¹ãã¬ã¼ã¸ 200GB ã£ã¦ãDreamHostãã¡ãã®ã¨ã³ããªã詳ããã§ãã http://d.hatena.ne.jp/harg/20061205/1165299174
å¹´å§(w ã®å¤§æé¤ããã¦ãã¾ãã¦ãçç®±ã®é風å£ã«æºã£ãã»ãããåããã¨å解ãã¦ããããã£ã¦ãã¾ãã¾ãããã åãã¦ã¯ãããã§ããã©ã
å¹´æ«å¹´å§ã«ã¹ã©ã¤ããä½ããã¨æã£ã¦æ«æãã¾ãããRSpec ã®ãã¹ãã³ã¼ãã¯è¦æ £ããªã "should" ãªãããåºã¦ãã¦é£ãããã«è¦ãã¾ãããå®ã¯è¦ããªãããããªãã®ã¯ 4ã¤ç¨ã®èªå½ã ãã§ãã*1 Object#should_xxx [args] Object#should_have(n).items Object#â¦
æ¨æ¥ããä¼ç¤¾ãå§ã¾ããã¾ãæ¨æ¥ã¯å¹´å§ã§è»½ããã£ããã§ãããä»æ¥ããã¯ã¾ã¨ãã«ç¾å®å¾©å¸°ãã¦ã¾ãã å¹´åã«ãããæãã¨ãããããããããã¾ãããä»å¹´ã¯å¹³ç©ã«ãã¤é 調ã«ãå»å¹´ã®å¤åã§å¾ããã®ã伸ã°ãã¦ãããããªããã¨ãæ¬å¹´ãã©ãããããããé¡ããâ¦