DDN 㯠é³æ¥½ ã» æ å ã«é¢ãã ãã¸ã¿ã« ã¢ã¼ã ãä¸å¿ã«æ å ±ããã¯ã¹ãé ä¿¡ä¸
DDN 㯠é³æ¥½ ã» æ å ã«é¢ãã ãã¸ã¿ã« ã¢ã¼ã ãä¸å¿ã«æ å ±ããã¯ã¹ãé ä¿¡ä¸
ã¾ãã©Rubyãã¿ã®tk.rbã§ãã Webã·ã¹ãã ãªã©ã§ã¯ãµã¼ãã¹ãæä¾ããå ´åãã¦ã¼ã¶ã¢ã«ã¦ã³ããç»é²ãã¦ããã®ã¢ã«ã¦ã³ãæ å ±ã§èªè¨¼ããã·ã¹ãã ãä¸è¬çãã¨æãã¾ãã Railsã§ã¯ã¦ã¼ã¶ã¢ã«ã¦ã³ãä½æãã¦ã¼ã¶èªè¨¼ãè¡ãããã®ã©ã¤ãã©ãª(gem)ããã©ã°ã¤ã³ã¨ãã¦å©ç¨ãããã¨ãã§ãã¾ãã ä»åã¯æ©è½ãè±å¯ãªdeviseãå©ç¨ããéã®ãµã¤ã³ã¤ã³å¨ãã®ã«ã¹ã¿ãã¤ãºã«ã¤ãã¦ãç´¹ä»ãããã¨æãã¾ãã å°ãRubyã¯2.0.0ãRailsã¯4.0.0.rc1ã¨ãªãã¾ãã ç¾æç¹ã§ã¯Rails4ã«å¯¾å¿ããgemã¯ãªãªã¼ã¹ããã¦ããªãããã§ãã®ã§ãGitHubããåå¾ãã¦ã¤ã³ã¹ãã¼ã«ãã¾ãã Gemfileã«æ¬¡ã®1è¡ã追å ãããã¨ã«ãããæå®ãããã©ã³ãããã¤ã³ã¹ãã¼ã«ãããã¨ãã§ãã¾ãã gem âdeviseâ, git: âgit://github.com/plataformatec/
æåãªRailsç¨èªè¨¼ãã©ã°ã¤ã³ã§ãã devise ã¯ãæ©è½æ¯ã«ã¢ã¸ã¥ã¼ã«åããã¦ããå¿ è¦ãªç©ã ããé¸ãã§ä½¿ããã¨ãã§ãã¾ããä¾ãã° Confirmable ã¨ããã¢ã¸ã¥ã¼ã«ã使ãã¨ä¼å¡ç»é²æã«ç¢ºèªã¡ã¼ã«ãé£ã°ããã¨ãã§ãã¾ãããã ãããã©ã«ãã§ã¯ã¡ã¼ã«ã¢ãã¬ã¹å¤æ´æã«ã¯ç¢ºèªã¡ã¼ã«ãé£ã³ã¾ãããããã§ä¸è¨ã®ããæ¹ã§ã¡ã¼ã«ã¢ãã¬ã¹å¤æ´æã«ã確èªã¡ã¼ã«ãé£ã°ãããã«ãã¾ããã ããæ¹ User ã¢ãã«ã devise ç¨ã®ã¢ãã«ã¨ãã¦ä½¿ã£ã¦ããã¨ä»®å®ãã¾ãã config/initializer/devise.rb ã«ä¸è¨ã®ä¸æã追å ãã¾ãã config.reconfirmable = true ããã«ãã¡ã¼ã«ã¢ãã¬ã¹å¤æ´æã®ä¸æ¬¡ä¿åç¨ã«ã©ã ã追å ãã¾ãã rails g migration add_unconfirmed_email_to_user unconfirmed_email r
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}