state_machineã¨ãã便å©ãªgemãããã¾ãã ã«ã©ã ã®ç¶æ ãç¶æ ã®å¥åã¨ãã管çãåºæ¥ã¦çµæ§ä¾¿å©ã«ä½¿ããã¦ããã£ã¦ããã®ã§ããã ãã2å¹´ç¨æ´æ°ãããã¦ãããRails4.2ç³»ã ã¨ã¨ã©ã¼ã«ãªãå ´åãããããã§ã(確å®ã«ã¨ã©ã¼ã«ãªããã¾ã§ã¯åããã¾ãã)ã ããã§enum è²ã 調ã¹ãã¨Rails4.1ããå ¥ã£ãenumã使ãã°ããããçãªæ å ±ãè¦ãããã®ã§ä½¿ã£ã¦ã¿ãã¨ããã¡ãã£ã¨ä½¿ãã¥ããã Rails4 - ActiveRecord::Enum ã®ä½¿ããã³ã - Qiita enumã®è¿½å ã®é çªã大äºãªã®ã¯Cã§ãåããªã®ã§ãããç¨åº¦çç·´ããããã°ã©ããªãåé¡ã«ã¯ãã¾ããã ä»ã©ãCæ代ã¨åã対å¿ãå¿ è¦ãªã®ã¯å¾®å¦ãªæ°ã¯ãã¾ããã©ã åé¡ã¯i18nã ãã®å¯¾å¿ãåºæ¥ãªããããã¾ã§ãå¤ã®å¥åãä»ããããããã ãã®æ©è½ãªã®ã§ãããããªãã¨ã¯æãã¾ããã¡ãã£ã¨ä¸è¦ªåã§ãã enum_he
{{#tags}}- {{label}}
{{/tags}}