Give Your Dates: Ruby on Rails 6 With Webpacker

All Rails applications I had built and maintained so far were on RoR version 4. … Read more 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.

Source: Web Dev



Leave a Reply

Your email address will not be published. Required fields are marked *