Tagged #ruby

31 articles tagged with Ruby.

ETL — https://irt.rowan.edu/_images/banners/catalog/etl-banner.jpg
Jan 30, 2025 9 min

Kiba ETL from Scratch with SFTP

H ow does raw data become clean and structured information? The answer lies in ETL : Extract, Transform, Load .

AC André Campos
Photo by Mohammad Rahmani on Unsplash
Aug 2, 2023 3 min

How to use Prettier to lint Ruby files

When it comes to maintaining clean and consistent code in Ruby on Rails applications, proper linting is crucial. Prettier is a popular code formatter that can be used to enforce consistent code style…

AN Andre Nunes
Klaviyo, a modern take on customer interaction. Image source
Oct 4, 2022 8 min

Klaviyo — Email & SMS Automation for improved Marketing

Marketing. The ever-evolving development of strategies that aid businesses reach their target market with valuable goods and services.

YC Yuri Cabrita
Sep 5, 2022 4 min

How to create a new ruby gem

In this article I will explain how we can build a new ruby gem, using as an example the one I created for Slack authentication.

AN André Nunes
Gem Factory
Feb 21, 2020 5 min

Gem Factory

A cool perk of being an able developer is the ability to, if you want, improve or add to the tools you use daily and allow others to benefit from it.

BP Bruno Pincho
Photo by Kyle Glenn on Unsplash
May 6, 2019 4 min

Organize your translations using multiple locales files

Of course, this contains an example with Pokémon!

JC João Chitas
Photo by Morre Christophe on Unsplash
Mar 11, 2019 9 min

Building a Slack App using Ruby and Sinatra

My team at Runtime Revolution uses an in-house app for team management and other day-to-day chores. Recently, I was asked to integrate Slack’s Slash Commands into it.

NN Nuno Namorado
Photo by Gabor Monori on Unsplash
Feb 15, 2019 4 min

Toilet Vacant: A Rails app which notifies you via Slack

Every day, there’s that time when you need to go to the toilet. You get off your chair, start walking towards a door with a drawing of a gentleman or a lady and hope that it is vacant.

JC João Chitas
Pry is ready for action.
Oct 23, 2018 4 min

Four things about Pry

I love REPL s. It’s a great development tool. Any decent language has a REPL. Lisp has it. Python has it. So does Haskell . And Ruby , obviously, has it!

BJ Bruno Jacquet
Photo by Artem Bali on Unsplash
Sep 7, 2018 6 min

Polyglot content in a rails app

Most of the apps that we develop are in English. As this is the most universal language in the world, it is normal to use English since it means reaching more people with our app.

PL Pedro Lourenço
Crystal is not Ruby Pt. 2
Jun 21, 2018 6 min

Crystal is not Ruby Pt. 2

Crystal is a very interesting language and has become one of my favorites to work with. It’s constantly compared to Ruby and is often marketed as an alternative to write performant code but with a…

FC Filipe Correia
Redis — An Introduction
Jun 1, 2018 7 min

Redis — An Introduction

Redis is an in-memory key-value data store that you can integrate with your application to store volatile data. It’s volatile because once you quit Redis, all the data you’ve stored is lost.

LC Luís Costa
Interactor Objects
May 24, 2018 4 min

Interactor Objects

As time goes by and your application grows, your code will become increasingly more complex. This means that there will be a lot more logic in places where it shouldn’t be.

PL Pedro Lourenço
Crystal is not Ruby Part 1
May 10, 2018 6 min

Crystal is not Ruby Part 1

Crystal is a very interesting project that I have been following for the last couple of months. There is no 1.0 release yet ( but it’s close ) so I haven’t really used it in any production systems,…

FC Filipe Correia
Photo by rawpixel.com on Unsplash .
Apr 18, 2018 5 min

Transposing Lisp into Ruby

When you work for a long time on the same technology you can become alienated from the world around you. For the past eight years I must have spent 90% of my time in the land of lisp ( pun intended)…

BJ Bruno Jacquet
Building a DSL in Ruby — Part 2
Dec 20, 2017 7 min

Building a DSL in Ruby — Part 2

In the previous blog post , we implemented the first version of an example of a DSL library in ruby, a simple FactoryBot clone.

LC Luís Costa
Building a DSL in Ruby — Part 1
Dec 5, 2017 4 min

Building a DSL in Ruby — Part 1

Have you ever wondered how libraries like FactoryGirl (or should I say FactoryBot ?) work? Or Rails routing? It all seems a bit like magic sometimes doesn’t it? Let me debunk all of that for you!

LC Luís Costa
Open Source Contributions made simple
Oct 26, 2017 7 min

Open Source Contributions made simple

Contributing to Open Source software can be overwhelming. There are a lot of projects that need help and welcome new contributors, but getting started can be hard.

LC Luís Costa
Photo by Igor Ovsyannykov on Unsplash
Oct 12, 2017 5 min

An in-depth look at the OAuth2 redirect flow

Implementing an OAuth2 client in rails is a simple task due to gems like omniauth and devise . They do the heavy work implementing the core of the O Auth2 protocol.

PO Pedro Oliveira
Validation by Lavender Sunrise
Sep 14, 2017 4 min

Validating Form Objects

There’s one question that comes up soon after starting to use form objects :

GS Guilherme Simões
Getting 100% with rounded percentages
Sep 7, 2017 3 min

Getting 100% with rounded percentages

I’m currently working with reports and graphs and I had the following request for one of these reports:

JF João Ferreira
Ruby Challenge: Feature flagging in Python
Aug 17, 2017 5 min

Ruby Challenge: Feature flagging in Python

I’ve been programming in Python for the last year. I’d rather work in Ruby but there are some features in Python and some of its libraries that are really cool.

FC Filipe Correia
Value Objects in Ruby on Rails
Jun 29, 2017 6 min

Value Objects in Ruby on Rails

Today I’m going to talk about value objects and how they can be used and identified in your Rails application.

MC Mario Cardoso
Photo taken from the 1973 St. Louis Roosevelt High School yearbook by bluwmongoose
Jun 22, 2017 3 min

Rails Quiz: XSS Edition

Cross-site scripting (XSS) is a type of computer security vulnerability that enables an attacker to inject code into a web page.

GS Guilherme Simões
Are you Spying on me? A quick overview of Spies in RSpec
Jun 14, 2017 4 min

Are you Spying on me? A quick overview of Spies in RSpec

When executing code, you expect things to happen. You expect objects to receive messages. You also expect objects to receive one, or more, messages a certain number of times (in most cases).

LC Luís Costa
Working with Facebook using Devise, Omniauth, Koala and Rails 5
Jun 1, 2017 5 min

Working with Facebook using Devise, Omniauth, Koala and Rails 5

The feature that possibly every developer had to implement at some point in their career is user authentication. In some cases, you might want to make use of Facebook accounts to facilitate the…

AG Ana Gonçalves
Unit testing with VCR
Apr 6, 2017 6 min

Unit testing with VCR

You have an application that makes HTTP calls to an external service and you have no tests for it. You want to make sure that your application behaves correctly whether those services return…

LC Luís Costa
Creating Form Objects with ActiveModel
Mar 13, 2017 3 min

Creating Form Objects with ActiveModel

A form object is an object designed specifically to be passed to form_for . It is often used to aggregate data to create multiple objects or to receive ephemeral data that is used and then discarded.

GS Guilherme Simões
Extending git with Ruby
Feb 2, 2017 5 min

Extending git with Ruby

At Runtime Revolution all our projects use git as part of the development workflow, which is why I think its important to find ways of extending git to make our lives easier.

FC Filipe Correia
Imagine working on an environment where all apps were contained and ready to be shipped — photo by danielpivnick
Jan 25, 2017 10 min

Setting up a simple Rails development environment with Docker for fun and profit

C reating a development environment may seem like a trivial task for many developers. As time progresses, and we find ourselves dwelling through the life cycle of so many projects, one probably ends…

JT José Tapadas Alves
A simple trick to make your classes easier to test
Jan 19, 2017 5 min

A simple trick to make your classes easier to test

I’m a firmly believer that good code is code that can be easily tested . If I can’t easily test a module or a class, it most likely means that the class has too many dependencies and/or too many…

LC Luís Costa