ããã«ã¡ã¯ãè±ç²çã§é¼»æ°´ãæ¢ã¾ããªãæ¥ã ãç¶ãã¦ãã hilotter ã§ãã åä¸ã¬ã³ã¼ãã«å¯¾ãè¤æ°ã¦ã¼ã¶ï¼ãããã¯ãããå¦ççï¼ããåæã«æ´æ°ãããå¯è½æ§ãããå ´åãæä»å¶å¾¡ãè¡ãå¿ è¦ãããã¾ãã ä»åã¯ã·ã³ãã«ãªãã¤ã³ãä»ä¸æ©è½ãä¾ã«ãæ²è¦³çããã¯ãç¨ããæä»å¶å¾¡ã®ãã¹ããæ¸ãã¦ã¿ããã¨æãã¾ãã ã·ã³ãã«ãªãã¤ã³ãä»ä¸æ©è½ä»æ§ ã¦ã¼ã¶ã¯ä»ã®ã¦ã¼ã¶ã«ãã¤ã³ããéããã¨ãã§ãã ä»åã®ãµã³ãã«ã¯ä»¥ä¸ã®ç°å¢ã§ç¢ºèªãã¾ããã Rails 5.1.4 MySQL 5.7.20 MySQLã®ãã©ã³ã¶ã¯ã·ã§ã³åé¢ã¬ãã« REPEATABLE-READï¼ããã©ã«ãè¨å®ï¼ add_pointã¡ã½ããã®å®è£ Userã¢ãã«ã«ãã¤ã³ããä»ä¸ã§ããadd_pointã¡ã½ããã追å ãã¾ã transactionå ã§lock!ãç¨ãã¦æ²è¦³çããã¯ãããã¦ãã¾ãã # app/models/user.rb cl
{{#tags}}- {{label}}
{{/tags}}