I have an EXISTING redshift DB i'm using rails 5 against. Things are working great except when creating, in this case no id is set in the activerecord object.
I've tried save and create
Also, tried using some callbacks, setting id etc. I can't get max then set id because I'm using a identity column.
Here's a snippet from the table
id| integer| not null default "identity"(320804, 0, ('0,1'::character varying)::text)
"app_users_pkey" PRIMARY KEY, btree (id)