I have asked about this problem elsewhere and have as yet not had any answer.
I cannot determine what is wrong with our Session store configuration. In Rails2 we used AR store with AuthLogic without problem. When we switched to Rails3 we ended up using cookie store because we could not get AR store to work. Now I would like to discover why we are having this problem and fix it. What is NOT happening is that the session_id in the sessions model is not being initialized. Therefore we see this DBMS error: PGError: ERROR: null value in column "session_id" violates not-null constraint : INSERT INTO "sessions" ("session_id", "updated_at", "created_at", "lock_version", "data") VALUES (NULL, . . . We never explicitly set session_id in Rails2 and I cannot figure out how to do so so now. Does anyone know hat one must do to initialize session_id from inside AuthLogic? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.