From Stimulus to another framework in a Ruby on Rails App
What if a Ruby on Rails application built using Stimulus.js needs to have more complex interactions, as well as a degree of compartmentalization and reusability for specific behaviors and displays?
Kiba ETL from Scratch with SFTP
H ow does raw data become clean and structured information? The answer lies in ETL : Extract, Transform, Load .
Implementing WebSockets in Ruby on Rails with Action Cable
Modern web applications increasingly demand real-time features, whether it’s for live chat, notifications, or collaborative editing.
Good practices for communicating between your Rails and React apps
Among the many ways to create Single Page Apps ( SPAs ), one of them usually involves developing a back-end API to provide data and a front-end app that can consume said data and show it to the user.
GitLab CI\CD concerns for a Ruby on Rails API and React Frontend in subfolders same repo
The goal of this blog post is to quickly show how can you define your GitLab steps if your Ruby on Rails application is inside of a subfolder and not accessible from the root of a repository.
Ruby on Rails CI\CD with GitLab
In today’s fast-paced software development landscape and here at Runtime Revolution , delivering high-quality applications with speed and efficiency is crucial.
Bitbucket Pipelines CI\CD concerns for a Ruby on Rails API and React Frontend in subfolders same repo
The goal of this blog post is to quickly show how can you define your Bitbucket Pipelines if your Ruby on Rails application is inside of a subfolder and not accessible from the root of a repository.
Ruby on Rails CI\CD with Bitbucket Pipelines
In today’s fast-paced software development landscape and here at Runtime Revolution , delivering high-quality applications with speed and efficiency is crucial.
GitHub Actions CI\CD concerns for a Ruby on Rails API and React Frontend in subfolders same repo
The goal of this blog post is to quickly show how can you define your Github Actions if your Ruby on Rails application is inside of a subfolder and not accessible from the root of a repository.
Ruby on Rails CI\CD with GitHub Actions
In today’s fast-paced software development landscape and here at Runtime Revolution , delivering high-quality applications with speed and efficiency is crucial.
Rails Modular API with Engines
In this blog post, we will explore the world of Ruby on Rails APIs and discuss how to build modular APIs using Rails Engines.
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…
Self-Organizing Maps on Ruby-on-Rails (with Pycall)
Self-Organizing Maps (SOM), also know as Kohonen Networks, in honor of its creator, Teuvo Kohonen, are an extremely popular data visualization technique used in many areas like fraud detection, trade…
Pull Request AI
Pull request descriptions are an important part of the software development workflow, but writing descriptions for pull requests can be a time-consuming and error-prone process, particularly when…
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.
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.
How to choose the best technology stack for your Startup to ensure fast and incremental innovation
When we talk about startups, some things are for sure: they have a wonderful team, some great ideas but not always know which technology stack is the right one.
Why having a QA Tester on your team is so important
First and foremost, so we get any confusion or misconception out of the way, what is a QA tester? A QA (Quality Assurance) tester, in software development, checks new software releases for any…
Have you ever heard about Ruby on Rails? Discover why startups love it (and so do we) for product development
If your startup is looking to deliver a quality product as quickly as possible in a reliable, cost-effective, and scalable way… Ruby on Rails is the perfect development platform for that mission.
6 Questions to Answer Before Deciding on a Ruby on Rails Services Company
Your startup has an awesome idea, and you want to transform it into an amazing, robust, and scalable digital product. You need to deliver it quickly to the market and evolve it over time.
Organize your translations using multiple locales files
Of course, this contains an example with Pokémon!
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.
What no one tells you about your first job as a software engineer
The first day of work. A phrase that causes anxiety attacks in almost every senior student. College is already difficult, but how much more challenging can a real day of work be?
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.
Calculating Route…
Ruby on Rails’ routing mechanism was the topic which took me the longest to grasp. Being the gateway between the application and the world, understanding its functionalities, possibilities, and…
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.
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!
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.
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.
Validating Form Objects
There’s one question that comes up soon after starting to use form objects :
Integrating a Third Party API with Rails 5
Sometimes you have an idea for an application but don’t want the hassle of collecting the data you need, or perhaps you need a service to complement your existing app.
Deploy your Rails app with Capistrano
Are you building an awesome Rails web application? Do you want to deploy it in a remote machine so other users can use it?
The battle for auditing and versioning in Rails — Audited vs Paper Trail
Nowadays, there is a growing need to have mechanisms that allows us to control who performed a particular action in a system.
Take 5 mins to make docker friendlier
Imagine you’ve just started working on a rails project with the following docker-compose file:
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).
Saving multiple Models with Form Objects and Transactions
We’ve talked before about form objects and how they can simplify our Rails views. Now I’d like to present a more complex scenario and one way to tackle it.
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…
Conditional Eager Loading in Rails
One of the most common performance issues that can affect a rails application (or any other web application) is the n+1 queries problem.
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.
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…
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…