Ruby 2.1 & Rails 3 – Our Experience

We’ve recently moved FTBpro’s Ruby on Rails servers to the newest Ruby version on earth – Ruby 2.1. It has been running on our production servers for the past two weeks. Our stack includes: MySQL, MongoDB, Rails 3.2, ElasticSearch Memcached and Redis. We wanted to share our experience of making this change. Incompatibilities 1. First […]

Yet Another Sinatra Boilerplate

Motivation A few days ago I started my first web application with a Sinatra infrastructure. Coming mostly from the Ruby on Rails world, I was amazed to see how many of the basic features we take for granted in our Rails application, are hard to set up or even not existing in a Sinatra application. […]

Be Proud Of Your Commits

In, we have a nice procedure of merging new code to our master branch. We use GitHub’s neat Pull Request (PR) feature to gain two big advantages: 1. It is easy to see the commits and the files changed in the branch compared to master. It is a very good tool for code reviewing. […]

SSH Connection Closed While Deploying With Capistrano

I wanted to share with you a problem I’ve been having for the past few weeks with a deployment via Capistrano. We have a few web servers and a few resque servers which we deploy our code to. Web servers have app and web roles while resque servers have app and resque roles. When we […]

The Importance Of Naming Things

When you think about it, as programmers, we mostly deal with sequences of characters. I mean, for the compiler (or interpreter), it doesn’t matter if you write sadad = 3 or some_meaningful_name = 3, the end result is the same. Same goes for method names, classes and so on. Many engines were invented in order […]