class LogDecorator < Draper::Base
  def created_at
    Time.new(model.created_at)
  end

  def url
    raise NotImplementedError
  end
end

class LogDecorator < Draper::Base
  decorates :activity_log

  def created_at
    Time.new(model.created_at)
  end

  def url
    raise NotImplementedError
  end
end

Make the log decorator wrap the ActivityLog class.
Make the log decorator wrap the ActivityLog class.
