ããã«ã¡ã¯ãruby-devãã¼ã ã®é è¤ï¼@mametterï¼ã§ãã Among Usã¨ããã²ã¼ã ããã£ã¦ãã®ã§ãããåéãå°ãªãã¦ãã¾ãéå¬ã§ããªãã®ãæ©ã¿ã§ãã ä»æ¥ã¯ãRuby 3.1ã«å°å ¥ãããäºå®ã®error_highlightã¨ããæ©è½ãç´¹ä»ãã¾ãã ã©ããªæ©è½ï¼ NoMethodErrorãèµ·ããã¨ãã次ã®ãããªè¡¨ç¤ºãåºãããã«ãªãã¾ãã error_highlightã®åä½ä¾ ã©ãã®ã¡ã½ããå¼ã³åºãã§å¤±æããããä¸ç®çç¶ã§ãããããã ãã®æ©è½ã§ããã使ã£ã¦ã¿ãã¨æå¤ã¨ä¾¿å©ã§ãã ããå°ã詳ãã ãã®æ©è½ãæ¬é ãçºæ®ããã®ã¯ãRailsã®paramsãJSONãã¼ã¿ã®åãæ±ããªã©ã®ã¨ãã§ãã ãã¨ãã°json[:articles][:title]ã¿ãããªã³ã¼ããæ¸ãã¦ãundefined method '[]' for nil:NilClassã¨ããä¾å¤ãåºãã¨ãã¾ãã ãã®
{{#tags}}- {{label}}
{{/tags}}