Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

ActiveRecord::StatementInvalid in radar:fetch #578

Closed
bitboxer opened this issue Apr 9, 2015 · 0 comments
Closed

ActiveRecord::StatementInvalid in radar:fetch #578

bitboxer opened this issue Apr 9, 2015 · 0 comments

Comments

@bitboxer
Copy link
Contributor

bitboxer commented Apr 9, 2015

Exception in Hacken.in

ActiveRecord::StatementInvalid in radar:fetch
PG::UndefinedFunction: ERROR: operator does not exist: character varying = integer
LINE 1: ...r_setting_id" = $1 AND "radar_entries"."entry_id" = 212 ORD...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
: SELECT "radar_entries".* FROM "radar_entries" WHERE "radar_entries"."radar_setting_id" = $1 AND "radar_entries"."entry_id" = 212 ORDER BY "radar_entries"."entry_date" ASC LIMIT 1

View on Bugsnag

Stacktrace

lib/radar/base.rb:29 - update_event
lib/radar/base.rb:16 - block in fetch
lib/radar/base.rb:13 - each
lib/radar/base.rb:13 - fetch
app/models/radar_setting.rb:6 - fetch
lib/tasks/radar.rake:6 - block (3 levels) in <top (required)>
lib/tasks/radar.rake:5 - block (2 levels) in <top (required)>

View full stacktrace

@bitboxer bitboxer self-assigned this Apr 9, 2015
bascht added a commit that referenced this issue Apr 9, 2015
…invalid-in-radar-fetch

entry_id must be a string, otherwise psql will vomit. Fixes #578
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant