ã¢ããªã®ç¨®é¡ãåãããé
ãã¯ã¨ãªã®ãã°ãèªãã®ã¯ããã©ã¼ãã³ã¹åä¸ã®ããã®ãªãã¡ã¯ã¿ãªã³ã°ã§å¼±ãé¨åãçºè¦ããããæ¹æ³ã®ã²ã¨ã¤ã§ãã 以åã®ç§ã¯ãé
ãã¯ã¨ãªã®ãã°ã¨ããã¨ãã¼ã¿ãã¼ã¹ã¨ã³ã¸ã³ã§çæããããã°ã®ãã¨ã念é ã«ããã¾ããããããããã¼ã¿ãã¼ã¹ã®é
ãã¯ã¨ãªã®ãã°ãåãç¬èªã®ã¡ã«ããºã ãä½ãããã¨ããåç¥ã§ããããï¼Railsã®ActiveSupport::Notificationsã¢ã¸ã¥ã¼ã«ã使ãã¨ãæå®ã®ã¤ãã³ãããµãã¹ã¯ã©ã¤ãã§ãã¾ããã¤ãã³ãã®ã²ã¨ã¤ã«Â sql.active_recordããããããã¯ãã¼ã¿ãã¼ã¹æä½ã®ãã³ã«ããªã¬ããã¾ãã 次ã®ãããªæãã§ä½¿ãã¾ãã ActiveSupport::Notifications.subscribe('sql.active_record') do |name, start, finish, id, payload| # inter
{{#tags}}- {{label}}
{{/tags}}