impressionist icon indicating copy to clipboard operation
impressionist copied to clipboard

Referrer field won't show up.

Open TheNiceTea opened this issue 8 years ago • 3 comments

So after days of trying to fix this issue myself, I decided to ask you guys in here.

Locally, the rails server works fine and when I use impressionist, the referrer field gets submitted to postgres correctly. When I use heroku however, the referrer field isn't getting logged to the postgresql database.

Have you guys experienced this issue before?

Best regards!

TheNiceTea avatar Sep 23 '17 08:09 TheNiceTea

The executed SQL statement from the heroku logs:

SQL (0.9ms) INSERT INTO "impressions" ("impressionable_type", "impressionable_id", "user_id", "controller_name", "action_name", "request_hash", "ip_address", "session_hash", "params", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) RETURNING "id"

TheNiceTea avatar Sep 23 '17 08:09 TheNiceTea

As you can see, there is no referrer being submitted. The table is existent in the Postgres db though.

TheNiceTea avatar Sep 23 '17 08:09 TheNiceTea

Im having this even in development

Hamdan85 avatar Nov 17 '17 04:11 Hamdan85