Speed Up Ruby on Rails Development Environment

There will be a time when your Rails development environment started to become very slow due to multiple reasons, but mostly because your codebase is very big and the monolith architecture is just too sweet for you to pass on.

Read more →

Integrate TradingView’s HTML5 Charting Library with Ruby on Rails v6

As you probably know, the charting library is not accessible publicly. You need to request access from them. So, I can’t really give a complete repo as an example. I did however open a PR at https://github.com/tradingview/charting-library-examples/pull/197, but I’m not sure if it’s going to be accepted.

Read more →

Rails 6 with Bootstrap (Webpacker for JS, Asset Pipeline for CSS)

I haven’t really worked on Rails for a while so I decided to take a sneak peek on what’s going in Ruby on Rails land.

The first thing I want to try is to integrate Rails with Bootstrap. It seems like a lot of tutorials are focusing on how to use webpack for CSS and JS.

Read more →

Trick to Make Telegram Bot Private

Recently, I learned a trick to make my Telegram bot private to certain users.

I tried not to create the whole CRUD thingy for the membership and after Googling I found out about one of the API provided.

Read more →

How Bcrypt Compares Password

I’ve always wondered about this.

Read more →

About Proc, Lambda and Block

I keep on searching for this topic, so I guess it’s time I put it on my blog.

Read more →

Getting Started with Rails on Windows

First of all, let’s get one thing straight. This is not a guide for those who are trying their best to not use Unix like environment in develop Rails application. This is more like a guide to do almost everything in Linux without replacing your Windows.

Read more →

Rails, Unicorn and Nginx on Slackware

I was trying to deploy a Rails application using Apache and got into some problems when I tried to configure the app so that Apache will be the one that serves the precompiled assets (javascripts, css, images and others). Since I’m on tight deadline (yeah, I should’ve tested production mode much more earlier), I tried my luck with Nginx and it worked easily without any hassle. So, this is how I did it.

Read more →

Using Sybase with Ruby on Rails on Linux

This guide will help you (mostly will help me in the future) to configure your Ruby on Rails to support connection to Sybase.

Read more →