Ruby

We do pretty much everything in Ruby. We love it. We have a lot say about it.

Displaying posts 1 - 12 of 21 in total

Building Commit Graphs

Posted on Tuesday on the Codebase blog

Git and Mercurial both come packaged with handy utilities to visualise the commits in your repository as a graph. We include this functionality in the Codebase interface as well. A...

Seamless socket server restarts in Ruby

Posted on the 22nd March on the aTech Media blog

We utilise a variety of custom socket servers to support our applications. Most of our apps have at least one. We write RPC servers to interact with repository storage in...

Resizing your uploaded images

Posted on the 21st March on the aTech Media blog

A couple of days ago I wrote about uploading attachments and in this tutorial I'm going to look at doing some processing on those attachments once they have been uploaded....

Running Ruby apps in production

Posted in October 2016 on the aTech Media blog

Over the last few months, I’ve been working on a number of Ruby applications which have a requirement to run a few different types of process — web servers, workers, crons — in order...

Wiring up Deploy for Websockets (part 1)

Posted in June 2016 on the Deploy blog

In the last few weeks we've introduced websockets into Deploy to improve our deployments. In the next couple of posts we'll delve into the how and why of this development.

Updating things live in the browser

Posted in August 2015 on the aTech Media blog

One of the things I am most proud and happy with in Coact so-far is the way that data updates made on the server are reflected in real time in the browser. For example, if someone renames a client

Memoization in Ruby

Posted in July 2015 on the aTech Media blog

Memoization is a technique employed in many languages which allows you to cache the results of slow or expensive operations and return the cached result whenever the method is subsequently...

Local gems for local apps

Posted in July 2015 on the aTech Media blog

If you’re a keen gem developer like myself and you regularly use them in your other applications, you may find it useful to know of this quick tip. It allows...

String Interpolation in Rails

Posted in April 2015 on the aTech Media blog

A while ago I wrote a small library to handle string interpolation in a Rails application. The library allows you to safely allow users to insert variables into strings they...