2010-04-01ãã1ã¶æéã®è¨äºä¸è¦§
Ruby on Rails Guides: Rails Internationalization (I18n) APIãèªãã§ã®ã¡ã¢ãå ¨é¨ç¶²ç¾ ãã¦ããã¯ãã¦ãªãã®ã§ãæ°ã«ãªã£ãæ¹ã¯åæè¦ã¦ãã ããã åºæ¬ I18n.translate "store.title" I18n.localize Time.now # ç縮形 I18n.t "store.title" I18n.l Time.â¦
Ruby on Rails Guides: Action Mailer Basicsãèªãã§ã®èªåç¨ã¡ã¢ã§ãã Mailerãä½ã rails generate mailer UserMailer Maileræ¦è¦ defaultã§mailã¡ã½ããã®ããã©ã«ãå¼æ°ãæå®ã§ãã mailã¡ã½ããã§mailãéã controllerã¨åãããã«ãããã§å®ç¾©ããâ¦
Rails 3ã®ã«ã¼ãã£ã³ã°ã§æ°ã«ãªã£ãã¨ããã«ã¤ãã¦ããã¤ãã®ã¡ã¢ã§ããããã¾ã§æ°ã«ãªã£ãã¨ãããªã®ã§å ¨é¨ç¶²ç¾ ãã¦ããããã§ã¯ããã¾ããããããããã åºæ¬å½¢ map.connect ãã match ã¡ã½ããã«å¤æ´ããªãã·ã§ã³ãä¸è¨ã®ããã«å¤æ´ã # Rails 2 map.coâ¦
éå»è¨äºãæ¤ç´¢ããã¨ããã¯ã¦ãªãç¨æãã¦ããæ¤ç´¢çªã ã¨çµæã®ä»¶æ°ãå¤ãã¨ãã«é常ã«æ¤ç´¢ãã¥ããã®ã§è¨ç½®ãã¦ã¿ããã¡ãã£ã¨ãã¶ã¤ã³çã«å¾®å¦ã§ãããã°ããããã§ãããã¨æãã¾ãã
Rails 2 ã§ã¯ãcontent_for(:title) ãå®ç¾©ããã¦ããªãã¨ãã«view㧠yield :title ãªã©ã¨ãã㨠nilãfalseãæ»ã£ã¦ãã¦ããã®ã§ãããã©ã«ãã®ã¿ã¤ãã«ãå®ç¾©ããããããªæ㯠<title><%= yield(:title) || "default title" %></title> ã®ããã«æ¸ããã®ã§ãããRails 3 â¦
Chapter 13 Spec::Expectations ãã®ï¼ - ããããWEBãµã¼ãã¹éçºæ¥è¨ã®ç¶ããã¡ãã£ã¨éãé£ã°ãã¦17ç« ã¸ã 17.1 Global Configuration exampleã«ã¢ã¸ã¥ã¼ã«ãincludeãã¦ããã®ãããªglobalãªbeforeãafterãå®ç¾©ãã¦ãããä¸è¨ã®ããã«Spec::Runnerã¢ã¸â¦
READMEãæ訳ï¼æ°ã«ãªã£ãã¨ããã調ã¹ã¦ãã£ããã¨ã¾ã¨ãã¾ãããèªåç¨ã®ã¡ã¢ã§ãã åºæ¬çã« ãã°ã¤ã³ï¼ãã°ã¢ã¦ãã®ç¶æ ã管çããã»ãã·ã§ã³ ã¦ã¼ã¶ã¢ãã«ã¸ã®èªè¨¼æ©è½ã®è¿½å ã®äºã¤ã®æ©è½ãå®ç¾©ããã¦ããã ãã°ã¤ã³ï¼ãã°ã¢ã¦ãã®ç¶æ ã管çããã»ãâ¦
Chapter 13 Spec::Expectations - ããããWEBãµã¼ãã¹éçºæ¥è¨ã®ç¶ãã 13.3 Predicate Matchers array.empty?.should == true ã¿ããã«æ¸ãã®ã¯ãã¾ãã¡è¦ãç®ãè¯ããªãã array.should be_empty Rspecã§ã¯ä¸è¨ã®ããã«ãæ¸ããããã«ãããããã¯å ¨ã¦ã®â¦
ãRubyãã¨ã¹ã¨ã¹èªç¿å®¤ãRailsã : ATNDåææ¥ã«éå¬ãããã¨ã¹ã¨ã¹èªç¿å®¤ã«åå ãã¦ã¾ãããä¼å ´ã®ãªã©ã¯ã«ã§ã¯ã³ã¼ãã¼ï¼ãè¶ãç¡æã§é£²ãã¦ãåã¯ç è¶ããããã飲ã¿ã¾ãããRails3ã使ã£ã¦ã»ãã»ããã¦ããããã£ã¨ããéã«çµäºæéãæ親ä¼ã楽ããã£â¦
rvmã¯ã¤ã³ã¹ãã¼ã«ã ããã¦ã»ã£ããããã«ãã¦ãã®ã§ãããpassengerã«rvmã®rubyã使ãããããã®ã§ããããæ¬æ ¼çã«ä½¿ããããªã¨æãç«ã¡ã¾ãããã¨ããããã§æé ãã¡ã¢ã ä½æ¥æé ã¾ãrvmã§Ruby Enterprise Editionãã¤ã³ã¹ãã¼ã«ãã¾ãã rvm install râ¦