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

by joshguthrieon 3/1/2025, 8:10 AMwith 1 comments

by joshguthrieon 3/1/2025, 8:10 AM

I often move small parts of my Rails app to NodeJS (like file uploads) and it'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.

To fix that, I built this project: leverage Docker to set up multiple Rails versions, and generate cookies.

Hope it helps other.