Plain, primary key id in Rails auth session

This is something I change first thing when using Rails’ authentication generator. Default for Rails is using id’s for all so it makes sense, but this one is a little bit more hidden


Written on 14 October 2026. Notes written are not publicly listed, but only accessible through the feed. Read previous note. Leave a comment below or send me an email.

What do you think?