Files
fizzy/app/models/board/cards.rb
T
2025-11-05 13:41:12 +01:00

10 lines
194 B
Ruby

module Board::Cards
extend ActiveSupport::Concern
included do
has_many :cards, dependent: :destroy
after_update_commit -> { cards.touch_all }, if: :saved_change_to_name?
end
end