Creating a URL String in Ruby

Matt Jankowski

Josh Clayton recently posted about Mind Bending Factories – demonstrating how a 20+ line factory definition lets you use Factory Bot to create URL strings from factories, in Ruby. I came up with an alternate approach, which I reveal here in this free & exclusive webinar.

About thoughtbot

We've been helping engineering teams deliver exceptional products for over 20 years. Our designers, developers, and product managers work closely with teams to solve your toughest software challenges through collaborative design and development. Learn more about us.