David Heinemeier Hansson, Ruby on Rails Creator: Interview

Introduction

David Heinemeier Hansson is the creator of Ruby on Rails, co-founder and CTO of Basecamp, best-selling author, Le Mans class-winning race car driver, family man, frequent podcast guest, and inspirational conference speaker.

Ruby on Rails was created by David in 2003. From the day Evrone was founded, in 2008, we've been using the Rails open-source web framework daily. It has helped us write truly beautiful code for our projects thousands of times. In addition to creating one of the most useful tools in software development, David has accomplished many other impressive feats, from writing the books 'It Doesn't Have To Be Crazy At Work,' 'REWORK,' and 'REMOTE: Office Not Required,' to racing in the FIA World Endurance Championship. In 2014, he came in first in his class in the 82nd running of The 24 Hours of Le Mans, the world's most prestigious sports car endurance race. He also won the WEC championship in the GTE-Am category that year.

Give Your Dates: Ruby on Rails 6 With Webpacker

All Rails applications I had built and maintained so far were on RoR version 4. A hobby project that I had started recently was on Ruby on Rails 6 with webpacker, which is the JavaScript scripts, styles, and assets bundler. 

I wanted to add Bootstrap, then code a form that has two date picker fields and two submit buttons with tool tip text. Pretty simple requirement, right? Ideally, it should have taken me just a few minutes to get it working. But turns out, I had to spend 2-3 hours. In this era of online documentation, Googling and stackoverflowing is an atrocious waste of time. Hence this article, so others can implement similar requirements in just a few minutes.