Railsã®ãã¼ã¸ã§ã³ã¯3.2.8æç¹ã®ãã®ã§ãã(2012/8/21追è¨) ååã®åé ã§æ¸ãã¦ãã®ã§ãRailsçãæ¸ãã¦ã¿ããã¨æãã è¦ã¯ãå°ã£ãããªãã¡ã¬ã³ã¹ããã¥ã¢ã«ã®ããã£ã½ãã¨ããè¦ãã°ã Ruby/Railsã¯å¤§ä½è§£æ±ºãã¦ãããã(ãããã¹ãã¼ãã«)ã£ã¦æããªã®ã§ã æ©ãã ããããåã«ä¸åå ¬å¼ã«å¸°ãã®ãããæ段ã ã¨æã£ã¦ã¾ãã ã§ããRailsã®APIãªãã¡ã¬ã³ã¹ã©ãã«ä½æ¸ãã¦ããåããã¥ããã¨æãã ä¾ãã°ãhas_manyé¢é£ã«ã¯ãå®ã¯:after_addã¨ã:before_removeã¨ãã ãã®æã®ã³ã¼ã«ããã¯ãProcã§æ¸¡ãããã ãã©ãã¡ã½ããã®èª¬æã®æã«æ¸ãã¦ãªããããã ä¸ã®æ¹ã®ã¯ã©ã¹å ¨ä½ã®èª¬æã®æã«Association Callbackã£ã¦é ç®ããã£ã¦ã ããã§å°å³ã«èª¬æããã¦ããã¨ãã ãã®è¾ºãããããã¦pull requeståè£ããªã ã¡ã¤ã³ã¯Act
{{#tags}}- {{label}}
{{/tags}}