.NETã®è¨äºãæ¸ããããããã¯ãããã¨ã¦ãã¨ã¦ãæ¸ããããã§ãã.NETã«è§¦ã£ã¦ãªãã®ã§ãä»æ¥ãã¾ãRailsãã¿ã§ãã ã¡ã¼ã«ã¢ãã¬ã¹ã®validationãè¡ããã©ã°ã¤ã³ã§ãã % script/plugin install http://code.dunae.ca/validates_email_format_of/trunk/ ãã¨ã¯ãmodelã«ã class User < ActiveRecord::Base validates_email_format_of :email end ã¨æ¸ãã ããç°¡åã§ããã ã¡ã¼ã«ã¢ãã¬ã¹ç¨ã®æ£è¦è¡¨ç¾ã£ã¦ãå³å¯ã«æ¸ãã¨ã¨ã©ã¤ãã¨ã«ãªãããã§ãããã®ãã©ã°ã¤ã³ãã©ãã¾ã§ãã§ãã¯ãã¦ãã®ãããã¨ã§è¦ã¦ã¿ã¾ãã åèãvalidationã®ã¨ã©ã¼ã¡ãã»ã¼ã¸ãæ¥æ¬èªåããæ¹æ³ã Railsã®validationãæ¥æ¬èªåããæ¹æ³ï¼ãã¾ãä»ãï¼ - ã
{{#tags}}- {{label}}
{{/tags}}