class ApplicationJob < ActiveJob::Base - ApplicationJob has no descriptive comment
before_perform :reload_site
before_perform :reload_parliament
private
def reload_site - ApplicationJob#reload_site doesn't depend on instance state (maybe move it to another class?)
Site.reload
end
def reload_parliament - ApplicationJob#reload_parliament doesn't depend on instance state (maybe move it to another class?)
Parliament.reload
end
end