以åã«æ¸ããã³ã¼ããèªãã§ããã¨ã1ã«ã©ã ã®å¤ã ããå¤ããããã¨ãã£ã¦ãupdate_attribute ã¡ã½ããã使ã£ã¦ããé¨åããã£ããããã¯ãã¾ããããªã update_attribute ã¨update_attribtues ã®éã åè ã¯1ã¤ã®ã«ã©ã ã®å¤ããå¾è ã¯è¤æ°ã®ã«ã©ã ã®å¤ãæ´æ°ã§ãããã¨ããéã以ä¸ã«ããupdate_attribute ã¡ã½ããã¯validation ãªãã«æ´æ°ãupdate_attributes ã¡ã½ããã¯validation ããã§æ´æ°ãã¨ããéããããã¾ãã ã¤ã¾ããupdate_attribute 使ãã¨ãæ¤è¨¼å¦çãªãã«ãå¤ãæ´æ°ããã¦ãã¾ããã½ã¼ã¹ãè¦ãã¨ãupdate_attribute ã®æ¹ã¯ãsave(false) ã使ã£ã¦æ´æ°ãã¦ããã®ãåããã activerecord/lib/active_record/base.rb at mas
{{#tags}}- {{label}}
{{/tags}}