Guru on Rails

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

Tue 21 Aug 2018


When we look at the reality or a situation in real world, what do we see? Now I’m sitting at a coffeeshop in Vietnam and look around. I’m seeing people who are talking to each other. I’m seeing the...

Mon 20 Aug 2018

Design Patterns

1. Separating out the things that change from those that stay the same. Obviously, we do it to avoid the tight coupled code, get it easy to make changes with less cost. At first time when we put d...

Fri 17 Aug 2018

Best Practices OOD

I have to say that we tend to make the attributes of class become messy. Attributes are the characters to distinguish class from the others. These ones make them different. It’s like black people w...

Fri 17 Aug 2018

Best Practices

When we were Junior developer we didn't actually notice so much about exceptions in ruby. That is because we didn't develop library to contribute the community yet. If we used to create libraries o...

Thu 16 Aug 2018

Software Architecture Design Patterns

The topic today is again Object Oriented Design. We just have three words O-O-D though. Naming I’d like to say that OOD is not just about Inheritance. When we put some classes there and make them i...

Wed 15 Aug 2018

Software Architecture Ruby on Rails Design Patterns

Have you ever considered about using class inheritance or modules while coding? So, when do we decide to use inheritance instead of module? Coding design is just about arranging code in our applica...

Tue 07 Aug 2018


One of the performance matter we usually encounter is Enumerator. Today, I introduce you a kind of performance issue we ever faced about enumerator. That's Enumerator in ruby. The case is when we e...

Mon 06 Aug 2018

Design Patterns Ruby on Rails

What are the reasons for using Inheritance and Composition. Speaking of Inheritance, we refer to class, for Composition we refer to Module. We should know the main idea from this design. Why do we ...

Sat 30 Jun 2018

Automated testing

Ruby on Rails and automated testing are going together, hand in hand. As many language programming, Rails has it's own testing framework. It support automatically to create boilerplate test files.

Wed 27 Jun 2018

Development's ideas

Challenge: We do want to manage Status of model efficiently. Statuses will automatically changed whenever the data of model changed. However, we do want to define the condition for every status and...

Total: 61