Ruby

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

Displaying posts 13 - 24 of 24 in total

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...

Creating MOSS returns for HMRC with JSON

Posted in March 2015 on the aTech Media blog

HMRC (the UK tax authority) have finally announced how UK businesses should submit details of their digital sales to other EU countries for their new VAT MOSS system. In my...

Improve session security in Rails apps

Posted in February 2015 on the aTech Media blog

In Rails applications, it’s really easy to allow users to login to your application. You ask them for a username & password, you check they’re correct and you pop their...

Ruby Tips & Tricks (part 2)

Posted in November 2014 on the aTech Media blog

Last week, I posted part one of my Ruby Tips & Tricks for people new to Ruby. In part two, we've got a whole new set of fantastic things you may find useful:

Ruby Tips & Tricks (part 1)

Posted in November 2014 on the aTech Media blog

Every day I use a huge number of different Ruby features and I take them for granted. It's not until you are thrown into the world of PHP or vanilla...

Deploying Rails 2.x apps on Viaduct

Posted in November 2014 on the Viaduct blog

This blog post is for you if you happen to have an old legacy Rails 2.x (read: pre-bundler) application and wish to deploy it to Viaduct.

Documentation Engine for Rails

Posted in October 2014 on the aTech Media blog

A couple of months ago, I wrote a Rails engine which provides applications with complete documentation library functionality by simply adding a gem.

Encrypting & signing stuff in Ruby

Posted in October 2014 on the aTech Media blog

Securing your communications between parts of your infrastructure has never been more important. For encryption, in most cases, you can rely on normal SSL on HTTP connections (HTTPS) however what...

Gulp & Rails

Posted in July 2014 on the aTech Media blog

I’ve recently started using Gulp rather than the built-in asset pipeline in Rails. Gulp provides a fair amount of additional flexibility and functionality which I am very much enjoying.

Introducing Shoppe

Posted in November 2013 on the aTech Media blog

During October, I started looking for an e-commerce platform we could use to launch our first line shop for Dial 9. We needed to be able to sell products from...