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
Original comment by Michael Granger (Bitbucket: ged, GitHub: ged).
You're using some other library on top of 'pg', and it's that library's responsibility to do any conversion between PostgreSQL's columns and its equivalent Ruby datatype. The 'pg' library explicitly and intentionally doesn't do any datatype conversion of any column value in its result set, as different higher-level libraries have different ideas about what Ruby class and conversion mechanism is appropriate.
For more details on the design philosophy for low-level PostgreSQL client libraries, see the [[http://wiki.postgresql.org/wiki/Driver_development|Driver Development article]] in the PostgreSQL wiki.
Original report by Anonymous.
I've had this code, that worked as expected on localhost with sqlite3 but not on Heroku.
This query creates a recordset of how many records were created per day:
Now if you check
with sqlite3 you will get true, false. But with PG, it'll be false, true.
The text was updated successfully, but these errors were encountered: