SAML and Ruby: The Collection

My colleagues and I have learnt a lot about supporting SAML in our Rails app. I've collected a lot of that into a handful of posts.