ruby
Plain Old Ruby Objectãªãã ãã©ãã¾ãActiveModelã½ãæ¯èããããã¦ãããããã¨ããããHashã§newããããªããeachãã¦send("#{key}=", v)ããã¨ãããRailsã使ã£ã¦ãã人ãªãããããã±ã¼ã¹ã«ããä½åº¦ãééãã¾ãã£ãã®ã§gemã«ã¾ã¨ãã¾ãããhttps://â¦
æå¹Rubyä¼è°ã¯ãç´ä¸å¹´ã¶ãã«è¨äºãæ¸ãã®ã«ãµããããããã°ãããã¯ã§ãã :-)9/14..9/16ã«è¡ãããæå¹Rubyä¼è°ã«åå ãã¾ãããããããã¾ã§çºè¡¨ã®æ©ä¼ãããã ããã®ã§ããã¤ãçºè¡¨ãã¦ãã¾ãããã¾ãã¯2æ¥ãã®åæ åºæ¼æ ã§ãRails3ã®éã¬ã·ããç´¹ä»ãâ¦
RubyKaigi 2011ã®äºæ¥ç®ãçµããã¾ãããæ¥å ´è ã®çãããã¹ã¿ããã®çãããèª ã«ãããã¨ããããã¾ãã ããããå¿ããã£ãããç·å¼µããããããããã©ãã¨ã¦ã楽ããæéãéããã¦ãã¾ããä¸é£ä¼å®å ¨å¤åºã許容ãã¦ããã妻åã«ããããã¨ãããã¦ãä»æ¥â¦
autotest"ã ã"ã§ã¯ãã£ããããªãã¨ãããã¹ã好ãã®Rubyistã®ã¿ãªãã¾ã¸ãhttp://github.com/moro/spe_cukeã³ã¼ããæ¸ããªããã¢ãªã¢ãªã¨ãã¹ããå®è¡ãããå ´åãrake specã§å ¨ä½ãæµãã®ãããªãã«ããã¡ã¤ã«åä½ã¨ãExample/Scenarioåä½ã¨ãã§ãã¹ããâ¦
æè¿ã®Railsã¯1.daysã¨ã3.minitusãªã©ã¨ãã£ã便å©ã¡ã½ããããFixnumã§ãªããActiveSupport::Durationãè¿ãããã«ãªã£ã¦ãã¾ããã¿ãªããã便å©ã«ä½¿ã£ã¦ããã¨æãã¾ããããããtimeout()ã¨çµã¿åãããã¨ã²ã©ãç®ã«éãã®ã§æ³¨æãã¦ãã ããã # ãã¡ãªâ¦
ååã«ç¶ããgihyo.jpã§wwã®è¨äºã®2åç®ãå ¬éããã¾ãããhttp://gihyo.jp/dev/serial/01/ruby/0037ä»åã¯ã(é·ãåããªãçµã¦)ã¤ãã«wwãRSpecã®ä¸ãã使ãæ¹æ³ãç´¹ä»ãã¦ãã¾ãããã¡ãããRSpec以å¤ã§ã使ãã¾ãã ãã¨ãã°Cucumberã§ã¯Before(){ }ããâ¦
èªåã®æ¥è¨ã§ã話ãããã®ãã¡ãã£ã¨é ãã¦ãã¾ãã¾ããããç§ããã³ãã³è¦ã¦åå¼·ããã¦ããã£ã¦ããgihyo.jpã®Ruby Freaks Loungeã«wwã®è¨äºãå¯ç¨¿ãã¾ãããhttp://gihyo.jp/dev/serial/01/ruby/0035ä»åã¯ãww(double-web)ã®ååã®ç±æ¥ã§ããããã«ã¨ãã¢â¦
è¿é ã¯WebAPIã使ã£ãã¢ããªã±ã¼ã·ã§ã³ãä½ããã¨ãå¢ãã¦ããã¨æãã¾ãããèªååãã¹ãããã®WebAPIã¸ã®ã¢ã¯ã»ã¹ã¯ã©ããã£ã¦ã¾ãã? ç§ã¯ãèªåã§stubãããFakeWeb(ã¬ã·ãå 輩ã«æãã£ã!!)ã使ã£ãããã¦ããã§ãããã¤ãã¤ããã£ããããªãé¨åãããâ¦
å æ¥ããç¸ããã£ã¦okyuu.comããã®ã¤ã³ã¿ãã¥ã¼ãåãã¾ãã¦ããããæ²è¼ããã¾ãããã¨ãã¨ãã®ãªã話ãã¡ããã¨ã¤ãªãã¦ãã ãã£ãokyuu.comã®ä¸ã®æ¹ã ããããã¨ããããã¾ãããããçµé¨ãåºæ¥ã¾ãããhttp://okyuu.com/ja/special/engineer05-moroã¤ã³â¦
ç§ã¯id:fistfvckãã(ã§ããã? ãåå確èªãã¦ãªãã£ãã®ã§ã¡ã¨ä¸å®)ã¨ä¸ç·ã«ã³ã¼ããæ¸ãã¾ãããä»æ§ã¯ãããªæããHashã½ãã¤ã³ã¿ã¼ãã§ã¼ã¹ã欲ããã¨ã®è¦ä»¶ã ã£ãã®ã§[]ã¨[]=ãã¾ãã¯å®è£ (ä¸2ã¤ã®example)ããã®å¾100åã¨ããæ大å¤ãæãã§ã®LRUçæ©â¦
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ããã®å¨è¾ºç°å¢ã®ã話â¦
éçºè ã®ã¿ãªãã¾ããç²ããã¾ã§ããããããããè¦å´ããã£ãã¨ã¯æãã¾ãããã¾ãã¯ãã®æ¥ãè¿ãããã¨ããã§ã¨ããããã¾ããæ¯æ¥Rubyã使ã£ã¦ã身ãã¦ã礼ãç³ãä¸ãã¾ãããããã¨ããããã¾ããã Ruby 1.9ã¯Rubyã®æ°ãã系統ã§ããè¿ä»£çã«ãé«éã«ãâ¦
å¹´æ«ã¨ããäºã§Macã®AddressBookããä½æé²ãæãåºãã¦OO Calcã§èªããããã«ããã¨ãã妻ããã®æ示ãããã¾ãã¦ãä½ã£ã¦ã¿ã¾ãããèæ¸ABã¨ãããã§ãã¦ãã®ã§ããã£ã¡ããç´æ¥å·ãã»ãããè¦ãã§ãã*1ãããå¿ è¦ãªæ¹ãããã°ã $ vcard2csv.rb [vCard.vâ¦
æ¢ã«ãåãã®æ¹ãå¤ãã¨æãã¾ãããä»å°Rubyä¼è°ã§ã話ãããæ©ä¼ãè³ãã¾ãããä»ã®çºè¡¨è ã®æ¹ã ã«æ°å§ããã¤ã¤ãRailsã¢ããªããã¹ãããç°å¢ã«ã¤ãã¦è©±ãããã¨æãã¾ãã æå¹Rubyä¼è°ã§è§è°·ãããè¨ã£ã¦ããããã«ããã¾TDDçã§ã¯Rubyãããããªæ¦å ´ã¨â¦
åå ããã¿ãªãã¾ãç²ãæ§ã§ãããããããã¾ã§ç¡äºã«å¿å¹´ä¼ãéå¬ã§ãã¾ãããããããã¨æãå¹¹äºã§ã¯ããã¾ãããã楽ããã§ããã ãã¦ããã°å¬ããã§ããå人çã«ã¯artonããã«Nokogiriãpushã§ããã®ã¨ãä¸ç°ããã®ååºãããã ããã®ããããã§ããã â¦
ä»äºã§å¿ è¦ã«ãªããããªæ°é ããã¦ããã®ã§ãå¤ä¼ã¿ä¸ã«MS Officeããã¥ã¡ã³ãã«å«ã¾ããããã¹ããæ½åºããããã®ãã¼ã«ãä½ã£ã¦ã¿ã¾ããã DeltaAttackã¨ããååã§GitHubã§å ¬éãã¦ãã¾ããhttp://github.com/moro/delta_attack/tree/masteræåã¯xlhtmlâ¦
ActiveResouceãªããã使ã£ãããèªè¨¼ãµã¼ãã¨é£æºãããã¨ãã£ãå¤é¨ãµã¼ãã¨ã®éä¿¡ãå¿ è¦ãªã¢ããªã±ã¼ã·ã§ã³ãæ¸ãå ´åããã¼ã«ã«ã§åãããããã¼ãµã¼ãã欲ãããªãã¾ãããã®ã¨ããä»äºã§ããããã·ã¼ã³ãå¤ãã£ãã®ã§ããããããã£ãã¨ãã«WEBrick(ã¨â¦
çæ§ãå¾ ã¡ããã®RubyKaigi2008ã§ãããæ©ããã®ã§ä»é±æ«ã®6/20 - 6/22ã«éå¬ããã¾ããä»å¹´ã¯ä¸å¹´ç®ã«ãã¦å ´æãã¤ãã°ã«ç§»ããããã¾ã§ã®RubyKaigiã¨ã¯ã¾ãä¸å³ãäºå³ãéã£ãRubyKaigiã¨ãªãããã§ããç¹ã«ä»å¹´ã®æ°ãã試ã¿ã¨ãã¦ãthe 0 dayã®Rubyã¨ãã¸â¦
ä»æ¥ã®å¤æ¹ããã?ããããããããªMLã«æããRailsåå¼·ä¼@æ±äº¬ã®æ¡å ã¡ã¼ã«ãå¤éé éããã¦ããããã§ãã被害ã«éã£ã¦ããã®ã¯ruby-listã¨Rubyã®ä¼ML(ruby[at]ml.fdiary.net)ãæ¥æ¬ã®Rails ML(rails[at]ruby.ml.fdiary.net)ãRailsåå¼·ä¼@æ±äº¬(rails-tokyâ¦
訳è ã®è±ç°æ§ããç®æ¬ããã ãã¾ããããããã¨ããããã¾ããRuby Way 第2ç (Professional Ruby Series)ä½è : Hal Fulton,è±ç°ç¥å¸,æ ªå¼ä¼ç¤¾ã¯ã¤ã¼ãåºç社/ã¡ã¼ã«ã¼: ç¿æ³³ç¤¾çºå£²æ¥: 2008/04/15ã¡ãã£ã¢: 大åæ¬è³¼å ¥: 2人 ã¯ãªãã¯: 221åãã®ååãå«ããâ¦
ãã³ã¾ã®23å·ããªãªã¼ã¹ããã¾ãããhttp://jp.rubyist.net/magazine/?0023ä»å·ã¯ãä¼èª¬ã®è¨äº(ç¬)ããã¡ããã¨ããã¾ãã®ã§ã©ãããããããé¡ããã¾ããRSpec on Railsã§ã³ã³ããã¼ã©ã¨ãã¥ã¼ã¾ã§é²ãã ãããã§ãã¤ãã«ãµã³ãã«ã¢ããªã±ã¼ã·ã§ã³ããã©ã¦â¦
http://www.ruby-lang.org/ja/news/2008/03/01/ruby-1-9-0-1-snapshot-released/ã¨ãããã¨ã§æ©éã¤ã³ã¹ãã¼ã«ãã¦ã¿ã¾ãããã§ãåã«ã¤ã³ã¹ãã¼ã«ããã¨ãã®configureãªãã·ã§ã³ãå¿ãã¦ããã®ã§ã¡ãã£ã¨ããã¹ã¯ãªãããä½ãã¾ããã ã~/opt/ruby186/bin/â¦
ã¨ãããã³ãã³ãä»ãã®gemãè¤æ°ãã¼ã¸ã§ã³ãå ±åãããæ¹æ³ãã³ãã³ãã®ç¬¬ä¸å¼æ°ã«_ããã¼ã¸ã§ã³ã_ã渡ãã¾ãã $ rails _1.2.6_ -v Rails 1.2.6 $ rails _2.0.2_ -v Rails 2.0.2Railsã®å ´åã¯railsã³ãã³ãã§ã¢ããªã®å¤æ ãä½ã£ã¦ãã¾ãã°ããã以éã¯ãâ¦
æ¨å¤æªæãã¤ãã«Ruby 1.9.0 ããªãªã¼ã¹ããã¾ãããé¢ä¿è ã®æ¹ã ãããã¨ããããã¾ã & ãç²ããã¾ã§ããã http://www.ruby-lang.org/ja/news/2007/12/25/ruby-1-9-0-release/ãããã¦ããã¾ããªãªã¼ã¹ãã¦ãã¾ãã http://www.ruby-lang.org/ja/news/200â¦
ã¢ãµãã·åæ¦ã«åå©ããããã®ã¹ã¯ãªããã§ãã Twitterãªããã§è©±é¡ã«ç»ã£ãæ¬ã®ã¢ãµãã·ãç´ æ©ã表示ã§ãã¾ããå®æ°ASAMASIãæ¸ãæãã¦ä½¿ç¨ãã¦ãã ããããã¡ããæ¸ãæããªãã¦ãããã§ããã©ãhttp://coderepos.org/share/browser/lang/ruby/misc/asamâ¦
ããã§ç´¹ä»ããã¦ããã ããchmãã³ãã«ã¸ã§ãã¬ã¼ã¿ãCodeReposã«ã³ããããã¾ãããhttp://svn.coderepos.org/share/lang/ruby/gem_chm使ã£ã¦ã¿ããæ¹ã¯gemã§ã¤ã³ã¹ãã¼ã«ã§ãã¾ãã $ svn co http://svn.coderepos.org/share/lang/ruby/gem_chm $ cd gem_â¦
æ¨å¹´ã®ãæ¥æ¬Rubyã®å¿å¹´ä¼ããã(ã¿ã¤ãã«çãªæå³ã§)è¦æ¨¡ã縮å°ãã¾ãã¦ããæ±äº¬ã¨é¢æ±Rubyã®å¿å¹´ä¼2007ãã¨ããã®ãè¨ç»ããã¦ããã ãã¾ãããä¸ã®Wikiããç³ãè¾¼ãã¾ããå¼ãç¶ããç§ã¨Yuguiããã§å¹¹äºãããäºå®ã§ããhttp://wiki.fdiary.net/RubyistYeâ¦
id:cho45ãããä½ã£ã¦ããMac OS Xç¨ CHTMLãã¥ã¼ã¢ Chmerããã¡ããã¡ããã°ãããã§ãã ãã ãhttp://coderepos.org/share/browser/lang/ruby/misc/chm-generators/generate-local-gems-chm-bundle.rbã®çæã¹ã¯ãªãããã¡ãã£ã¨å¸æã¨éãæãã§ããã®ã§â¦