Blogs




Better passwords in Ruby applications with the Pwned Passwords API
At Twilio we're fans of using a second factor to protect user accounts, but that doesn't mean we've forgotten the first factor. Encouraging users to pick strong passwords is still the first line of defence for their accounts.After spending years c...




Dup vs Clone in Ruby: Understanding The Differences
Did you know that you can copy an object in Ruby? Not only that, but there are two different methods to do this!These methods are:dupcloneWe will explore the differences in a moment, but first…Why would you want to clone an object?Many objects in ...


Rails Scaffolding and TDD Are Incompatible - Code with Jason
Learning Rails testing is pretty hard. There are a lot of principles and tools to learn. Getting comfortable with testing in Rails (or any framework) often takes developers years.Compounding the difficulty is TDD. If I’m just starting out with tes...