Skip to content

Commit

Permalink
Fix failures under rails 6 and pg 11
Browse files Browse the repository at this point in the history
patch from que-rb#247
  • Loading branch information
cushingw authored Jun 10, 2019
1 parent d97bda2 commit 76f69a3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/que/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,11 @@ def convert_params(params)
},

# Timestamp with time zone
1184 => Time.method(:parse),
1184 => -> (value) {
return value if value.is_a?(Time)

Time.parse(value)
},
}

# JSON, JSONB
Expand Down

0 comments on commit 76f69a3

Please sign in to comment.