Chat Application with Rails 5 and React

One of the recent projects I worked on was called Cliizii, which is an online marketing platform. This was a big project that contained several parts, one of which was a chat platform. Even though the dashboard platform was written using AngularJS, we decided that, for the chat part, ReactJS would be a better fit. … Continue reading

Cuba, why not?

In this post, I want to introduce you to Cuba. Cuba is a microframework for web development originally inspired by Rum, a tiny but powerful mapper for Rack applications. It integrates many templates via Tilt, and testing via Cutest and Capybara. Usually, when you speak to a Ruby developer, he will describe himself as a … Continue reading

Different sides of Ruby development: OpenGL

When I’m trying to take a break from web development, I like to build something new and uncommon in Ruby programming. Ruby is typically known for web services, APIs and other web-related development. But with some time, you can build many other types of software. After creating, I started researching Ruby applications that use 3D graphics. … Continue reading

Gamedev on Ruby? Why not!

This article isn’t about big games with sophisticated graphics, nor will I be creating something like MMORPG (even though, I think it’s possible). In this article, I will be creating a terminal Snake Game. I know a lot of developers; including myself, who got started in programming because they were crazy about games. They wanted … Continue reading

Remove N+1 queries in your Ruby on Rails app

Introduction Ever wondered why your page loads slower than it should when you do simple data representation or iteration over a bunch of data? One answer might be that you have the N+1 problem which slows your page significantly. But what is that N+1 problem and how to resolve it? That is what we will … Continue reading

Array is one of the workhorses in Ruby

In this post, I will dive into Arrays. There are several methods we use every day, methods we use sometimes and methods we don’t know they even exist. Basics It’s a boring definition, but we all need to remember it: Array indexing starts at 0. A negative index is assumed to be relative to the … Continue reading

Observer pattern in 3 languages – Ruby, C# and Elixir

The goal of this article is to show the differences in thinking that arise when you develop your application design using different languages and language paradigms. We will have a dynamic object-oriented language (Ruby), static object-oriented language (C#) and functional actor model-based dynamic language (Elixir). I may speculate that this might be interesting to people who … Continue reading

Using Neo4j with Ruby on Rails

First of all, what is Neo4j? To sum this up, Neo4j is an open-source NoSQL graph database implemented in Java and Scala. It’s development started on 2003, but it got available as an open source database only in 2007. You can see it on GitHub. Neo4j is one of the market leading graph databases, you … Continue reading

From Ruby to C#

I started my career as Ruby developer and I have not been in C++, Java (except for some Clojure) or C# land. Here at Diatom most of the people are .NET developers and I was selling them Ruby and they were selling me C#. In this post, I wanted to share how I got convinced … Continue reading