def prepare_parameters(options)
      params = {}
      params.merge!(self.class.activity_params_global)
      params.merge!(self.activity_params) if self.activity_params
      params.merge!([options.delete(:parameters), options.delete(:params), {}].compact.first)
      params.each { |k, v| params[k] = PublicActivity.resolve_value(self, v) }
    end
def prepare_parameters(options)
      params = {}
      params.merge!(self.class.activity_params_global)
      params.merge!(self.activity_params) if self.activity_params
      params.merge!([options.delete(:parameters), options.delete(:params), {}].compact.first)
      params.each { |k, v| params[k] = PublicActivity.resolve_value(self, v) }
    end
Prepares i18n parameters that will
 be serialized into the Activity#parameters column
 @private