Ruby on Rails, commonly referred to as Rails, was created in 2004 by David Heinemeier Hansson during his work on Basecamp, a project management tool developed by 37signals (now Basecamp).
Hansson's primary motivation was to facilitate rapid web application development, which was cumbersome and slow with the existing tools of the time. With a background in business rather than computer science—a field that was, at the time, very "math-heavy"—Hansson aimed to create a more user-friendly and efficient development framework.