A visual of a lamp

Making a dent
in the tech universe

Here we share articles of what we’re currently thinking about, trends we see and questions we ask. And you’ll also find technical resources, where we share our expertise.

A shape
Feature

Ruby Conf in Wellington

The Ruby community holds conferences all over the globe, using local and international speakers, for Rubyists of all levels. The latest conference was a single day of talks held at Te Papa in Wellington which is two blocks from Abletech’s headquarters.

    No results found

    Thumbnail

    Getting started with Stripe, Rails and React in three easy steps

    A client recently requested to add the functionality to be able to accept credit card payments within a Rails application that we were building. Specifically, they wanted users to be able to purchase vouchers using credit card payments and pass on any processing fees. Once the payment was complete, the transaction had to be recorded within the app and an email needed to be sent out to both the purchaser and the giftee. Stripe came into the picture then.

    Thumbnail

    Pragmatic Refactoring

    Last year, I read the amazing *99 Bottles of OOP* by Sandi Metz, Katrina Owen & TJ Stankus. The book explores OOP concepts and how to refactor code while being one cmd + z away from green tests. It teaches “practical techniques for getting things done that lead, naturally and inevitably, to beautiful code”, by changing one line at a time.

    Thumbnail

    Testing ActiveRecord Concerns

    ActiveRecord classes manage persistence and have a tight relationship with their database tables. This relationship, sometimes, makes testing tricky and even trickier when testing Rails concerns. This article describes how to test a concern in isolation from its ActiveRecord class and its associated database table.

    Thumbnail

    An alternative to service objects

    Service objects are overused. They have become the default solution for any new features in a Rails codebase. They’re also hard to talk about as they mean different things for different people. Here is how I define them:

    Thumbnail

    Getting started with Stripe, Rails and React in three easy steps

    A client recently requested to add the functionality to be able to accept credit card payments within a Rails application that we were building. Specifically, they wanted users to be able to purchase vouchers using credit card payments and pass on any processing fees. Once the payment was complete, the transaction had to be recorded within the app and an email needed to be sent out to both the purchaser and the giftee. Stripe came into the picture then.

    Thumbnail

    Pragmatic Refactoring

    Last year, I read the amazing *99 Bottles of OOP* by Sandi Metz, Katrina Owen & TJ Stankus. The book explores OOP concepts and how to refactor code while being one cmd + z away from green tests. It teaches “practical techniques for getting things done that lead, naturally and inevitably, to beautiful code”, by changing one line at a time.

    Thumbnail

    Testing ActiveRecord Concerns

    ActiveRecord classes manage persistence and have a tight relationship with their database tables. This relationship, sometimes, makes testing tricky and even trickier when testing Rails concerns. This article describes how to test a concern in isolation from its ActiveRecord class and its associated database table.

    Thumbnail

    An alternative to service objects

    Service objects are overused. They have become the default solution for any new features in a Rails codebase. They’re also hard to talk about as they mean different things for different people. Here is how I define them:

    Message sent
    Message could not be sent
    |