Apr 21, 2017

How to deal with boolean parameters in Ruby

Today I wanted to have a closer look at the different ways for passing boolean arguments and assigning default values to them.

Read more

Mar 31, 2017

Unexpected case of rescue Exception

When you work on a project that has been existing for a while, you will most likely find few skeletons hidden in a closet. They can be parts of code or patterns that people know about, know they are bad, yet no one is addressing them for various reasons. What’s worse they are often being repeated because people are following them.

Read more

Mar 28, 2017

Docker: A Quick and Easy Alternative to Virtualization for Developers and Non-Developers Alike

Want to build software that works on any machine, any configuration? Use Docker. Bridging the gap between programmers and other stakeholders involved in producing a software product for desktop, enterprise, web, or mobile (i.e. testers, system admins, the DevOps team, management and even customers!), Docker is what is known as a containerization management tool that is a unique new twist on traditional virtualization.

Read more

Mar 10, 2017

Deploying Jekyll website to Heroku

Last time we showed you how to deploy Phoenix application to Heroku. In this article we will show you how to host static website there.

Read more

Mar 3, 2017

Partial unique indexes in PostgreSQL and Rails

Working correctly with database indexes is always the key to application performance and reliability. Especially when the amount of data grows rapidly, the well designed database architecture pays back. On the other hand though it is easy to miss something or fall into a trap of tricky case. One of these is the unique indexing on multiple columns, where at least one of them is nullable.

Read more

Jan 14, 2017

Deploying Phoenix application to Heroku

Phoenix is framework for Elixir language to building fast, scalable web applications. Because Elixir runs on Erlang Virtual Machine, it’s able to fully use all CPU cores without sacrificing code readability, robustness and security. It proves its values in low-latency, distributed and fault-tolerant systems - how many times did you hear: “Your call cannot be made at the moment because we are upgrading our servers”? Erlang was created by Ericsson for handling these needs in the context of telecommunication systems.

Read more

We are giving our blog some ❤️  Expect more content shortly!