Hire Us

Railsware Blog

on product management, engineering, design, culture and many more...

Forward Declaration In Your Objective-C Projects

Using Forward Declaration In Your Objective-C Projects

If you’re new to Objective C and iOS development, this topic will explain some important things about Forward Declaration and will help you understand the concept behind it. So, let’s skip the theory and jump right into a small example to see what it’s all about. We’ll create a small …

Globalize Your Configuration

Quite a lot of applications face the problem of storing configuration data, where configuration differs for development, test and production environments. Yaml files is a common way of organising application settings. They help make our configuration clean, as well as allow loading it somewhere to constant or global variable and …

3 Patterns for Storing Tree Structures in the RDBMS

3 Patterns for Storing Tree Structures in the RDBMS

Hello my dear friends. Today, we’ll talk about storing tree structures in the RDBMS (Relational Database Management Systems: e.g. MySQL, PostgreSQL, Oracle, etc.). While this can be an easy topic for some of you (if “Nested Sets” and “Materialized Path” sound familiar, you probably won’t find anything new here), I’ve …

EuRuKo 2013 Retrospective

EuRuKo is an annual pan-European Ruby conference. This year it was held in Athens, Greece, on June 28th and 29th. Railsware crew had a good time there and I’d like to share some insights and ideas brought from the conference. Читать по-русски тут. First of all, it was very inspiring …

UI Changes Overview in iOS 7

When iOS 7 was publicly presented at WWDC 2013, my first impression on it was based on the screenshots with those weird icons and great parallax effect. Seemed like this is the same stuff as we had before, but flattened and colored in acid. But then, I’ve realised this is …

Getting Started with Chef Server

Hello my dear friends. Today we will talk about a Chef Server. In this article we will learn what is the Chef Server and how to setup it up. Before reading this article, it’s better to read my articles about Chef Solo. Here I’ll explain only those things that hasn’t …

API with Ruby on Rails

API with Ruby on Rails: useful tricks

This article is about gotchas you should be aware of while building your API with Ruby on Rails. Controller tricks: API on Metal Sooner or later each Rails developer come to a point when he wants to build his first API.Among the first things you have to take care of …

Zero deploy – speed up your deployment

Tired of waiting for git to checkout your code? Fed up with sluggish assets precompilation? Don’t want to waste your time while waiting for bundler to install shitload of gems? Zero Deploy gem brought to you by Railsware aimed at solving all these problems and improving all the stages of …

Heroku Mailtrap add-on: dummy SMTP for emails testing

Good news for the development teams who run their applications on Heroku cloud application platform and need to constantly test transactional and other emails sent from your app. Railsware is proud to announce Mailtrap Heroku add-on public release.Mailtrap is in fact a dummy SMTP server that catches all your emails …

Mobile APPeal: Exploring the Mobile Landscape

This is a guest blog post from Bill Hodak, Director of Product Marketing at New Relic, the SaaS-based application management provider for web and mobile apps. It goes without saying that smartphones and other mobile devices have reached a level of ubiquitousness. We use them every day, for every thing …

Heroku Queuing Time

Heroku Queuing Time: Problem and Solution

One of the most exciting things about Heroku is that you can scale in a single click – just add more dynos, and you can immediately handle higher load. This post is about our experience of hosting high load application on Heroku and situation when adding more dynos does not …

Chef: DOs and DON’Ts

Chef: DOs and DON’Ts

At some time, you came to a point when you need to pick a solution for a deployment of your project, and you decided to pick Chef. Okay, but I have to disappoint you from the start – if you don’t have any experience with Chef, then you’re going to …

Chef Server and Amazon Auto Scaling Groups

Amazon Auto Scaling Groups (ASG) present a new requirement for applications that will utilize this feature. When a new instance spins up, it has to know what to do. The Problem Let’s follow the steps leading to scaling up application. First, conditions set by one of your monitoring alarms should …

Slow-Fast Request Balancer

Problem To be honest you don’t have ideal application during start-up development. Some actions are not so fast as you want. For instance you may have some heavy admin reports requests, some lazy import/exports actions, slow third part services network requests, etc… But what if you have already some user …

Fixing multithreading for Rails

Fixing multithreading for Rails in development mode

Preface In Rails, automatic code reloading in development mode is based on autoload,which is not threadsafe. It means you can’t use it while developing multithreaded Rails applications(especially for JRuby). But several monkeypatches can do the trick. Workaround When we discovered this limitation almost a year ago, we had next options: …

Lego, UI library

UI Library: effective way to organize interface components. Layouts

UI Library: Preface UI Library: Writing CSS We’re already familiar with Modules, but they don’t fit when dealing with a site layout. When explaining Modules we’ve learned to think component-based. Now, let’s add one more rule — Grids control width. It means that all Modules should be designed not to depend on width that gives more flexibility when …