Files
fizzy/app/models/entropy/configuration.rb
T
Jorge Manrubia 19b286180f Rename method
2025-10-31 10:41:22 +01:00

17 lines
329 B
Ruby

class Entropy::Configuration < ApplicationRecord
belongs_to :container, polymorphic: true
after_commit :touch_all_cards_later
class << self
def default
Account.sole.default_entropy_configuration
end
end
private
def touch_all_cards_later
Card::TouchAllJob.perform_later(container)
end
end