Files
fizzy/app/models/bubble/boostable.rb
T
2024-10-12 22:49:36 -06:00

11 lines
165 B
Ruby

module Bubble::Boostable
extend ActiveSupport::Concern
def boost!
transaction do
increment! :boost_count
track_event :boosted
end
end
end