What is Ruby doing on Rails?
Hello, you're reading Infinum Ruby Drops, bringing you the latest Ruby and Rails related news straight to your inbox every week.
Rails API with Active Model Serializers

In this tutorial we show how to build an API, which helps to organize the workflow of a library, using Rails API 5 with ActiveModelSerializers.

Read More

Since each described class has different properties and executable code, they need to be stored somewhere. Where does Ruby store data? That’s right, in the objects.

I recently found myself needing to return early from a block passed into a method in Ruby. The way to do this is fairly simple and obvious in hindsight.

In Ruby, errors and failures are typically implemented with exceptions. In some situations, however, exceptions may not be the best choice. This article covers some of the problems with exceptions, and introduces a functional, alternative approach to error handling


Rails 5.1 introduces system tests for simulating browser interactions with their applications. In this post, we explore the new addition and see how you can apply it in your own projects.

This is an example on how you can build a Weather Chatbot on Facebook platform, using Ruby on Rails and API.AI

Beyond Ruby

When I left Microsoft in October 2016 after almost 21 years there and almost 35 years in the industry, I took some time to reflect on what I had learned over all those years. This is a lightly edited version of that post. Pardon the length!

We want to lose our dependencies but that’s a lot better to say than do, to obtain this autonomy.

Blast from the past
Mordor sucks, and it's certainly more physically taxing to dig a tunnel than poke at a keyboard unless you're an ant. But, for the sake of the argument, can we agree that stress and insanity are bad things? Awesome. Welcome to programming.

Gem of the week
Native Ruby extensions without fear

Curated by Infinum's Rails team.
Infinum Rails Team · 156 2nd St · San Francisco 94105 · United States of America