For presentations that aren't part of the official podcast stream.
PG::InvalidTextRepresentation: ERROR: invalid input syntax for type integer: ""
: SELECT MAX(cast(episode as integer)) FROM "presentations" WHERE "presentations"."conference_id" = $1
app/models/presentation.rb in set_next_episode at line 112
For presentations that aren't part of the official podcast stream.
app/models/presentation.rb
inset_next_episode
at line 112