2009-01-01ãã1å¹´éã®è¨äºä¸è¦§
TDDã§éçºãã¦ãã人ã®ç®ä¸ã®æ©ã¿ã¯Slow teståé¡ãããªãã¡ãã¹ãã®å®è¡æéããããããã¦è¾ããã¨ããåé¡ã§ãã ãããµã¨æãã¨ããããã£ã¦ã次ã®ãããªã¿ã¹ã¯ãå®ç¾©ãã¦ãããããªãã¨ãããã¨ã§ããããåçã«æ©ããªã£ãã§ã¯ããã¾ãããã namespaceâ¦
師走ã§ãå¿ãããã¨ã¨æãã¾ãããããããã¨ãããã£ã¦ãå¿å¹´ä¼ãããã®ã§å®£ä¼ã§ããã©ã¡ããã¾ã 人æ°ã«è¥å¹²ã®ä½è£ãããã¾ãã®ã§ãèå³ãããæ¹ã¯æ¯éãç³ãè¾¼ã¿ãã ãããªã ãªãã©ãå¿å¹´ä¼ @ 2009-12-18 ãªãã¸ã§ã¯ãå¶æ¥½é¨ã®å¿å¹´ä¼ã§ããLTããã!! httâ¦
Akabane.rbã¨ããã£ã¦ã¿ããä»æ¥ãã®é ã§ããåæã®9:00AMããã¾ãã¾ãå±ã¨ãã§ãã¾ãç§èªèº«ã¯ã ãã¶å ã¾ã§åæ¥ã®ãã¤ã«ã¯æ¯æ¸ãã¦ããã§ããã©ãããã¯ããã¨ãRSpecã®å ¨Example(it)ãCucumberã®ãã¹ã¦ã®ã·ããªãªã§åå¾å¦çãããããªããã¨ã¯ããã¾ããã?â¦
ä¼ãã§ãããã¡ã«ããã¶ãæéãçµã£ã¦ãã¾ãã¾ãããã10/31ã®OSCã«ã¦ãæéãããã ããRailsã®æ¨ä»ã®ãã¹ãäºæ ã«ã¤ãã¦ç´¹ä»ããã¦ããã ãã¾ãããæ®æ®µããç³ãã¦ããããã«Cucumberã¨RSpecãããã£ã¨æ¨ãã¦ãã¾ããRails testing environment, 2009 falâ¦
訳è ã®é«äºããããç®æ¬ããã ãã¾ããããããã¨ããããã¾ããå ¬ç§ã¨ããã£ã¨ãã¿ãã¿ãã¦ããã®ã§ãæ¸è©ãæ¸ãã®ããã®ãããé ãã¦ç³ã訳ããã¾ãããã§ãæ¬æ¸ã¯å»ãRubyKaigi2009*1ã§é«äºããããã£ããã£ã¦ããããã«ããã®æ¬ã¯ãRailsãã¨ãã¨ã³ã¿ã¼â¦
å æ¥ããç¸ããã£ã¦okyuu.comããã®ã¤ã³ã¿ãã¥ã¼ãåãã¾ãã¦ããããæ²è¼ããã¾ãããã¨ãã¨ãã®ãªã話ãã¡ããã¨ã¤ãªãã¦ãã ãã£ãokyuu.comã®ä¸ã®æ¹ã ããããã¨ããããã¾ãããããçµé¨ãåºæ¥ã¾ãããhttp://okyuu.com/ja/special/engineer05-moroã¤ã³â¦
ãªãã¸ã§ã¯ãå¶æ¥½é¨2009å¤ã¤ãã³ãã®è¥äººã»ãã·ã§ã³ã§ã話ãããæ©ä¼ãããã ãã¾ããã ã¿ã¤ãã«ã¯ãããã¸ã§ã¯ãç¹åè¨èª ã¨ãã夢ãè¦ããã ãã§ããèªç¶è¨èªã§ä»æ§ãè¨è¿°ã§ããCucumberã¨ãè±èªã©ã¤ã¯ãªæ¸ãæ¹ãç®æãæ¹åããå¾ã ã«æ¹é転æãéãã¤ã¤â¦
http://d.hatena.ne.jp/yuum3/20090628/1246199125 ãåãã¾ãã¦ã¡ãã£ã¨èª¿ã¹ã¦ã¿ã¾ãããRails 2.3ã¯ããããªæ©è½ãRackã®middlewareã«æ¼ãåºãã¦ãã¦ããã®ãã¿ã§ããã³ãã¯ã·ã§ã³ãã¼ã«ä½¿ã£ãã¨ãã®ãæé¤ãmiddlewareã§ãã£ã¦ã¾ãã ããã activerecordâ¦
ç§ã¯id:fistfvckãã(ã§ããã? ãåå確èªãã¦ãªãã£ãã®ã§ã¡ã¨ä¸å®)ã¨ä¸ç·ã«ã³ã¼ããæ¸ãã¾ãããä»æ§ã¯ãããªæããHashã½ãã¤ã³ã¿ã¼ãã§ã¼ã¹ã欲ããã¨ã®è¦ä»¶ã ã£ãã®ã§[]ã¨[]=ãã¾ãã¯å®è£ (ä¸2ã¤ã®example)ããã®å¾100åã¨ããæ大å¤ãæãã§ã®LRUçæ©â¦
ä»æ¥ã¯Railsåå¼·ä¼@æ±äº¬41.1ä¼ãããã¾ãã¦ããã®ä¸ã§Akasaka.rbæä¾ãhttp://twitter.com/t_wada å çid:t-wadaå çãæãã¦ã®TDD/ãã¢ããã»ãã·ã§ã³ãããã¾ããããé¡ã¯ãLRUã½ãåããã¤ã¾ãæè¿ä½¿ã£ã¦ãªãè¦ç´ ãæ¶ãã¦ãã£ã¦ã¡ã¢ãªççºãé²ãã¤ã¤ããâ¦
http://github.com/moro/miso/tree/masterä¸ã«ãæ¸ããããã«Cucumberã®èªç¶è¨èªã§æ¸ããæå³ã¨ããã®ãããä¸åº¦èãã¦ãã¾ãã¦ãããã¯ãã¡ããæ¯èªãããªããã°èãããªã®ã§ãä¸åº¦è¨³ããåãç°¡åã«ä½¿ãããããRailsã®ã¸ã§ãã¬ã¼ã¿ã¨ãã¦ã¾ã¨ãã¦ã¿ã¾ããã
ãç¡æ²æ±°ãã¦ã¾ãã èãã¦ã¿ãã°ãã2ã¶æå¼±æ¸ãã¦ãªãã£ããã§ããããã¿ã¾ãããããããããã¾ãããå æ°ã§ãã ä¹ ãã¶ãã®æ¥è¨ã§ã¢ã¬ã§ããã宣ä¼ã§ããæ¥ã7/7ã®ãªãã¸ã§ã¯ãå¶æ¥½é¨2009å¤ã¤ãã³ãã®è¥äººãã©ãã¯ã§è©±ãæéããããã¾ãã(ããããã§ãâ¦
å æ¥ã®QConã§å¤§å ´ããããã£ããã£ã¦ãããã¨ã§ãããRailsã§éçºãããä¸ã§ãã®ãããéè¦ãªãã¤ã³ãã«ãRailsã®æ·ããã¬ã¼ã«ããéããªãã¨ããã®ãããã¾ããå¥ã«ã³ã¬ã¯Railsãä¸èªç±ã ã¨ããããã§ãªã*1ãéãä¸éã®ãã®ããã§ããªãã¨ããããã§ããªãâ¦
æãã¨ããããã£ã¦${HOME}/.vimãæ´çããããã®ä»ç°å¢ããã¬ã¤ã«ãã¦ãã¦è©¦ããããã¾ããã£ãtipsã§ãã vimã§Railsã¢ããªã®éçºããã¦ãã人ã¯ã»ã¼ééããªã tpopeå çã®ãä¸è©±ã«ãªã£ã¦ããã¨ã¨æãã¾ããrails.vimã®ä½è ã®æ¹ã§ããã rails.vimã¯vim.oâ¦
æè¿(2.3.2ã§ç¢ºèª)ã®script/serverã«ã¯--pathãªãã·ã§ã³ã¨ããããã®ã§ãæ°ããã®ã使ã£ã¦ã人ã¯ä½¿ãã¨ããã¨æãã¾ããrelative_url_rootãæå®ããæãã«æ¯ãèããªãã·ã§ã³ã¿ããã§ãããã®tipsã¯ä»¥ä¸ã®æ¡ä»¶ã«å½ã¦ã¯ã¾ãããããªäººã«åãããã®ã§ãã Raiâ¦
æ¬æ¥ãããã®ã§æçã«ãã¡ããã¡ããå¤ãã£ã¦ããã®ã§ã¯ã¾ã£ããã¤ã³ããã rspec-rails 1.2.2 ã«ã¼ãã£ã³ã°å¨ãã®exampleã®æ¸ãæ¹ãå¤ãã£ã¦ãããroutes_for(url_params)ã®ã»ã idãªãããStringã§æå®ããå¿ è¦ãã it "should map #show in rspec-rails 1â¦
ã¡ããã©ãã®æ¬ã®åè¡ã¨åå¾ãã¦ãCapistranoã®ä½è ããã¡ã³ããã³ã¹çµäºã®ãç¥ãããåºããã¨ã¯è¨æ¶ã«æ°ãããã¨æãã¾ã(ã¡ãã£ã¨ãã¤ã³ã¿ã失念ãã¾ããããæè¿ã«ãªã£ã¦å¾ç¶ã¡ã³ããã«åä¹ãåºãæ¹ããããããª)ããã°ããããããã¯ããä½ã£ãæ¹ãçãâ¦
訳è ã®å°åããããç®æ¬ããã ãã¾ããããããã¨ããããã¾ã(ææ³åºé ãã¦ç³ã訳ããã¾ãã)ã ãã§ã«id:authorNariãããæ¸è©ãã¦ãã£ãããã¾ãããããã¯è¯æ¸ã§ããèªåã以å¤ã使ãRailsã¢ããªãä½ã£ã¦ã人ã¯ãä¸èªãã価å¤ããã¨æãã¾ããã
ã¤ã³ããã¯ã¹ã¸ç»é²ããå¤æ´ãåãæ¶ãæ¹æ³ã«ãªããrm --cachedã使ããã¨ãã¦ã¯ã¾ãã¾ãããTwitterã§ã¤ããã£ã¦ãã ãã£ã岩æ¾ããããããã¨ããããã¾ããä»å¾å¿ããªãããã«ååãã¤ãã¾ããã $ git config --global alias.unstage 'reset HEAD'ã¤ãã§â¦
Dropboxã§ãåéç´¹ä»ãã£ã³ãã¼ã³ããã£ã¦ã¾ãã¦ãç´¹ä»ããã¨256MB容éãã¢ãããã¾ããæ大+3GB(12人)ãªãã§ãããã¾ã ã¾ã éã¯é ãã®ã§ã©ãªãããååããã ããã¨ããããã§ããhttps://www.getdropbox.com/referrals/NTEwODcyNjkã¨ãã«ããµã¤ã³ã¢ããURLâ¦
ãã®ãããããããå°ç©ãä½ã£ã¦GitHubã«ãããããã¦ãã¾ãã http://github.org/moro ãã£ããããã¦ãããã§ãããfork 0ãwatch 1(ãªã¬ãªã¬)ã¨ããå¯ããç¶æ³ãç¶ãã¦ãã¾ãã®ã§ãæµç³ã«ãç´¹ä»ããããªã£ã¦ãã¾ãããèå³ã®ããæ¹ãããã°Railsåå¼·ä¼ã§â¦
ä»åã¯ãã¯ãªã³ãã¾ã«ä¼å ´ãæä¾ãã¦ããã ãã¦ã¾ãããããã¨ããããã¾ããhttp://wiki.fdiary.net/rails/?RailsMeetingTokyo-0039ã¾ã æ®å¸ã«ã ãã¶ä½è£ãããã¾ãã®ã§ãã¿ãªãã¾ãèªãåããã®ãããµãã£ã¦ãåå ãã ããã ã»ãã·ã§ã³æ¡ãå°ãªãã®ãæ®å¿µâ¦
ã©ããªãã®ããããã¨æã£ã¦èª¿ã¹ã¦ã¿ã¾ãããå®ã¯enginesã¨ã(Merbã®sliceã¨ã)æçæ´¾ã ã£ããã§ãããæè¿ã«ãªã£ã¦ããã¤ãè¯ããããªã¦ã¼ã¹ã±ã¼ã¹ãæãã¤ãããã§ããã¾ããããªãããªãã¨ã ããã¾ã§æçæ´¾ã ã£ãåã?ã¨ãã¦ãrails-enginesãã¼ã ã®å ¬å¼â¦
RubyKaigi2009ã®å ¬å¼ãµã¤ãããã¸ã¿ã«åãã¹ãç¡çç¢çãªããããæ¸ãã¾ãããã¢ã³ãã¼ãgemã«ãã¦ããã¾ãããhttp://github.com/moro/ruby19_monkey/tree/masterRuby1.9ã®ã»ãã«moro-ruby19_monkeyãã¤ã³ã¹ãã¼ã«ãã¦ãconfig/environment.rbã®config.gemâ¦
ãã¤ã®éã«ããããµããæå¾æ¥ã«è¿«ã£ã¦ãã¾ãããç§èªèº«ã¯ç¹ã«è©±ãããã¯ããªããã§ãããå ¬ç§ã¨ãé¢ããã®ããæ¹ã ããããããªããäºå®ã§ããç§ã¯ã¨ããã¨ãåºæ¬çã«ã¯ãæ¥æ¬Rubyã®ä¼ããããã¯ãSKIPã¦ã¼ã¶ã°ã«ã¼ããã®ãã¼ã¹çªããã¦ã¾ããRubyistã®çãâ¦
æ¾æ±Rubyä¼è°éå¬ããã§ã¨ããããã¾ããç§ãååãustçµç±ã§è¦ãã¦ããã ãã¾ãããããããããæ¹ã ã®ããã«ã¯ãè¦ã¦ããã ãã§ãã話ãèãã¨ãã£ããã壮観ã§é¢ç½ããã®ã§ãããã§ãããã§ã¡ãã£ã¨è©±é¡ã«ãªã£ã¦ãããRuby1.9ã¨Railsããã®å¨è¾ºç°å¢ã®ã話â¦
A has_one B ã®ã¨ããa.b ã£ã¦ãããå¿ ãbãè¿ãã¦æ¬²ããï¼nilã¯ããã ï¼ãã¿ãããªã¨ãã¯ãalias_method_chain ã使ãã http://capsctrl.que.jp/kdmsnr/diary/20090130.html#p01 app/以ä¸ã§ã®alias_method_chainææçãªç§ã¯ãããªæãã«ãã¾ããã¢ããªæ¬¡â¦
éçºè ã®ã¿ãªãã¾ããç²ããã¾ã§ããããããããè¦å´ããã£ãã¨ã¯æãã¾ãããã¾ãã¯ãã®æ¥ãè¿ãããã¨ããã§ã¨ããããã¾ããæ¯æ¥Rubyã使ã£ã¦ã身ãã¦ã礼ãç³ãä¸ãã¾ãããããã¨ããããã¾ããã Ruby 1.9ã¯Rubyã®æ°ãã系統ã§ããè¿ä»£çã«ãé«éã«ãâ¦
ä»å°Rubyä¼è°01ã§ãCucumberãç¨ããä»æµè¡ã®Railsãã¹ãã£ã³ã°ç°å¢ã«ã¤ãã¦è©±ãã¾ããã 2009-01-25è¿½è¨ ã©ããSlidesareã§å ¬éããã¹ã©ã¤ãããã¾ã表示ããã¾ããã®ã§ããã£ããåãè¾¼ã¿ã¯åé¤ãã¾ããã ã¹ã©ã¤ãã®ãã¦ã³ãã¼ãã¯ã§ããããã§ãããã¨ãâ¦