You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NoMethodError at /que/scheduled
undefined method `utc' for "2020-09-06 22:17:03":String
in que-web/lib/que/web.rb in relative_time:188
que-web/web/views/scheduled.erb:26
Dependencies
PgSQL 12
ruby: 2.6.5
rails: 5.2.3
pg: 1.1.4
que: 1.0.0.beta4 (commit 065981)
que-web: HEAD (commit 3f7b7b7)
Reproduce Condition
Visit
/que/scheduled
How System Behaves
My best guess so far is que-web/lib/que/web.rb:39
returns
run_at
as a string, example: "2020-09-06 22:17:03"The
relative_time
helper expects aTime
object at lib/que/web.rb:189and the String class is missing
.utc
Proposed Solution
https://github.com/AlanLattimore/que-web/tree/undefined-method-utc-for-string
based on que-rb/que@87d40e7
The text was updated successfully, but these errors were encountered: