Files
fizzy/app/models/bubble/boostable.rb
T
2024-10-11 20:14:09 -05:00

11 lines
179 B
Ruby

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