Tag: rails

DataTables with Bootstrap 4 Minimal Setup in Rails 6

DataTables with Bootstrap 4 Minimal Setup in Rails 6

DataTables provide a quick and handy way to add functionalities to Tables.. In this article we are going to implement DataTable with bootstrap 4 theme to our brand new Rails 6 App. We will be using static data for this article. Setup Create home controller and set up your index page. In routes set up …

+ Read More

How to deploy Rails non master branch on Heroku

How to deploy Rails non master branch on Heroku

No doubt Heroku is one of the best technology to quickly deploy web apps. In my case I am working on Rails 6 app and loves the way heroku takes care of all the dependencies with single command. After completing with code and i was ready for build. This time the branch name is demo …

+ Read More

Generate Quick PDF Charts in Rails 6 with Dhalang

Generate Quick PDF Charts in Rails 6 with Dhalang

It gets messier when you try to render charts and graphs on PDF, as even widely used gem like wickedPDF doesn’t properly support HTML canvas element without applying patches, and becomes headache to upgrade in long run. Today I’ll tell you a quick way to build rich PDF charts in Rails using Google’s headless engine …

+ Read More

5 different ways to Generate PDF Charts in Rails 6

5 different ways to Generate PDF Charts in Rails 6

I was doing a task related to data representations and it needed lots of charts rendering stuff and converting them to PDF. Since the application is running on multiple devices, Ctrl + P option didn’t helped much. So, I started exploring each possible way out there. I am listing below, 5 best ways to generate …

+ Read More