Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Railsに同じ性質のコールバックが複数ある場合、競合は発生しますか?同じモデルのいくつかのafter_commitのように?
私はそれらを1つの方法に結合できると思いますが、読みやすさの理由から、私はむしろそうしません。
いいえ、次々に実行されます
after_commit :callback_one, :callback_two