A lamp standing in front of a green wall

Making a dent in the tech universe

Making a dent in the tech universe


Feature

Sustainability in IT business. What you can do to decarbonise

Most of us are onboard with the fact that humans have been overconsuming the earth's resources at an unsustainable rate. Action from a global, government, and local government level is still unsatisfactory. Everyone needs to start doing their bit, and hopefully each little bit adds up and makes a big difference.

    No results found

    *Refactor code one change at a time with [retest](https://github.com/AlexB52/retest).*

    Pragmatic Refactoring

    RESOURCE

    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.

    Photo by [Elif Dilara Bora](https://unsplash.com/@elifborae?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/venice-carnival?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

    Testing ActiveRecord Concerns

    RESOURCE

    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.

    Photo by [Dmitry Ratushny](https://unsplash.com/@ratushny?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/hope?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

    An alternative to service objects

    RESOURCE

    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:

    Rails best practice security exceptions

    RESOURCE

    However, these security features can adversely affect real users and you may notice ActionController::InvalidAuthenticityToken exceptions appearing in your production runtime which can be challenging to reproduce.

    React On Rails with Devise: Two Ways

    RESOURCE

    Hi, I’m Kate! I’ve been working as a web development intern at Abletech for the last two months. Recently I’ve been investigating using React together with Ruby on Rails. My task was to discover common ‘gotchas’ and figure out what it would take to use React in our next project.

    Get rid of your Vim plugin manager

    RESOURCE

    With the advent of Vim 8.0, there is now a native way to add plugins (now called packages), so you can get rid of your Vundle/Pathogen/<insert flavour here> package manager at long last.

    *Refactor code one change at a time with [retest](https://github.com/AlexB52/retest).*

    Pragmatic Refactoring

    RESOURCE

    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.

    Photo by [Elif Dilara Bora](https://unsplash.com/@elifborae?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/venice-carnival?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

    Testing ActiveRecord Concerns

    RESOURCE

    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.

    Photo by [Dmitry Ratushny](https://unsplash.com/@ratushny?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/hope?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

    An alternative to service objects

    RESOURCE

    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:

    Rails best practice security exceptions

    RESOURCE

    However, these security features can adversely affect real users and you may notice ActionController::InvalidAuthenticityToken exceptions appearing in your production runtime which can be challenging to reproduce.

    React On Rails with Devise: Two Ways

    RESOURCE

    Hi, I’m Kate! I’ve been working as a web development intern at Abletech for the last two months. Recently I’ve been investigating using React together with Ruby on Rails. My task was to discover common ‘gotchas’ and figure out what it would take to use React in our next project.

    Get rid of your Vim plugin manager

    RESOURCE

    With the advent of Vim 8.0, there is now a native way to add plugins (now called packages), so you can get rid of your Vundle/Pathogen/<insert flavour here> package manager at long last.

    Message sent
    Message could not be sent
    |