TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rails Cookies Monster: A test suit for libraries using Rails sessions

1 pointsby joshguthrie3 months ago

1 comment

joshguthrie3 months ago
I often move small parts of my Rails app to NodeJS (like file uploads) and it&#x27;s often been a pain to properly authenticate users. To that end, I built libraries for that in NodeJS and Rust, but testing them was often only on the latest Rails I was using.<p>To fix that, I built this project: leverage Docker to set up multiple Rails versions, and generate cookies.<p>Hope it helps other.