hermannloose/escalator — comment on commit 4edba4433b7d0cf460825c54aca2f41d274c37c0
File: lib/escalation_job.rb line 13
By hermannloose:

Well, in my eyes the possible options are:

```ruby
check_at = upcoming.delay_minutes.minutes.since((Time.now - issue.posted_at).seconds.ago)
Delayed::Job.enqueue(EscalationJob.new(issue_id), 0, check_at)
```

which I think is convoluted, and my current solution on the other hand. (Btw, Time + something is only defined for a something of type `Numeric` by itself and not further specified in Rails itself, it seems.)

Also, I still don't fully understand your suggestion, I think. For using the `minutes`, `seconds` etc. magic I already have to know which dimension my given number is in, if it's a variable, otherwise the result would be pretty random.