Guru on Rails

if you don’t sacrifice for your dream then your dream becomes your sacrifice.
Will Nguyen

Fri 05 Oct 2018


Firstly, we create file and define crucial paths which are used in functions we will develop later. #!/bin/bash PUMA_WORKING_DIRECTORY=/var/www/willapp/current PUMA_CONFIG_FILE=/var/www/wil...

Thu 04 Oct 2018

Ruby on Rails

Rails 5 finally provided an easy way to add realtime communication between Rails 5 server and web browser. Rails 5 Action Cable integrates the web sockets to the the rest of Rails application realt...

Tue 02 Oct 2018


Technically, it's like a tracking device. At first when I investigate any technology I look for the reason. Why does it appear? What problems does it solve? It would be useful, wouldn't it? The ans...

Tue 25 Sep 2018

Best Practices

We learn a lot about programming. How to write a good code which is clean, maintainable, readable, reliable and many other dimensions. However, an ecosystem is not only the code but also many other...

Thu 13 Sep 2018

OOD Best Practices

I actually intended to add this post to old article about the same title. However, I don't want to make an article too long. Regarding to this principle, there are so many things to learn. Because ...

Thu 06 Sep 2018

Ruby on Rails

Hook methods is actually the convenient way to help us extend the behaviors of existing class at runtime. In rails there are many popular hook methods we often use such as "included, extended, inhe...

Wed 05 Sep 2018


I encountered this issue yesterday. It's hard to find the cause because of callbacks. We create objects and we use them somewhere in the scope. We created callbacks for models before but when we us...

Wed 05 Sep 2018


Background jobs? In fact, in my point of view almost language programmings have background jobs, especially for web application. They appear to solve the problem of processes which run in long time...

Wed 05 Sep 2018


Imagine that you want to investigate to use a ruby gem or a javascript library as fast as possible. How can we do that?  We usually tend to think of things complicatedly. We exaggerate the problems...

Tue 04 Sep 2018


Last article I introduced S.O.L.I.D in coding. I found that I didn't really dive deep in each principle as I thought. Programming is not about the chain of theories. We need to seek for the situati...

Total: 65