2013-10-28 rails best practicesã«ã¤ãã¦ã¾ã¨ãã¦ããã rails best practices ãã¡ãã¯å®å ¨ã«ã¡ã¢ãããã©ã¼ãã³ã¹ãåä¸ãããããRailsã®è¨è¨å²å¦ã«æ²¿ããããããã®ã«ãrails best practicesã£ã¦ã®ãããã¾ãã ä½ã£ãã³ã¼ãã«ã¤ãã¦ããããã£ã¨ããããããã¿ãããªãã¨ãã¢ããã¤ã¹ãã¦ããããã¼ã«ã§ããã ãããã®ã¢ããã¤ã¹ãããç¨åº¦ã¾ã¨ãã¦ããããã¨æãã¾ãã âchange Hash Syntax to 1.9    ã»ä¾ãã°ã:a => 3ãa: 3ã«ããã ã âuse 'create!' instead of 'create' as the latter may not always save    ã»createã¡ã½ããã常ã«saveãæåãããã¨ã¯éããªãã®ã§ä¾å¤ãçºçããã¦ãã ããçãªï¼å¤±æããã¨çµæ§ã
{{#tags}}- {{label}}
{{/tags}}