2021-09-20 08:22:39 +02:00
|
|
|
class Employer < ApplicationRecord
|
2021-09-22 16:40:20 +02:00
|
|
|
after_create_commit { broadcast_prepend_to "employers" }
|
|
|
|
|
after_update_commit { broadcast_replace_to "employers" }
|
|
|
|
|
after_destroy_commit { broadcast_remove_to "employers" }
|
|
|
|
|
|
2021-09-20 08:22:39 +02:00
|
|
|
include Recentable
|
|
|
|
|
|
|
|
|
|
has_many :subscriptions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
end
|