Six confusing features in Ruby

In this post I am trying to point out some Ruby features you might want to use with a lot of caution.

The Ruby world now has another serializer

An opinionated comparison between ActiveModel::Serializer, Rabl, Grape::Entity, and Decoradar.

Bundler Gotcha

A few days ago I encountered a strange behavior of Bundler so this post notes down how my experience with it was.

Why constant mocking is a bad idea?

Says we have a Clock class which returns the current time of the system.

Five Rails Gotchas

It’s undeniable that Rails is a great framework to speedily build up your application. However, despite of its handiness, like other frameworks, Rails has its own flaws and is never a silver bullet. This post is going to show you some of the gotchas (or pitfalls you name it) I encountered while working with Rails.

Worque - CLI that manages your daily notes

I would like to introduce Worque (pronounced as work), which is a CLI to manage all your daily notes like a boss, with vim integration.

You don't need RVM gemset

We can’t deny the contribution RVM gemset gave up to the Ruby community, but do we really need gemsets to isolate our project dependencies these days?

Using Factory Girl with Hanami model

Hanami is one of the most popular and trending Ruby frameworks today, well-known for its clean architecture and testability. In this post we are going to explore how we can use Hanami Model with Factory for fast testing data generation.

Monkey Patching for good

Monkey-patching has been widely considered as bad practice in software development, in terms of source code management and maintainability.

Refactor Controller - Extract LoggedIn-Controller

Sometimes your controllers actions require authentication and it makes your code look messy. This post is going to show you the idea of extracting them into LoggedInController