Reusing Rails Scopes

In this post, I would like to discuss about one of the least explored methods of ActiveRecord i.e. merge. I came across this method after working with Rails for about 2 years. It mainly focuses on merging of scopes in associations. Confused ?? Let’s head straight to an example. Let’s say I’ve orders, line items […]

Crystal – Lets Call it Ruby Plus Plus

In the world of thousands of languages, added one more to the list is Crystal, which is General Purpose Object Oriented Programming language. It is a compiled language, and compiles to an ultra optimized native code using Low Level Virtual Machine or LLVM as the backend. But what’s so special about it you ask? Well, […]