Browsing Tag
rails
53 posts
Why choose ViewComponent over Rails partials
ViewComponent, inspired by React, was introduced at RailsConf 2019. It gives better data flow, easier to test views…
Publish/Subscribe with Sidekiq
Introduction Our Rails application is an old monolith that relies heavily on after/before callbacks to trigger code that…
How to Setup RSpec on a Rails Project
At the time of writing this article using ruby 3.2.0 & Rails 7.1.2 Let’s get started… 1. Create…
Trabalhando com Threads em Ruby
Na medida que você avança na sua carreira em programação, eficiência e desempenho se tornam uma preocupação cada…
Data migrations in regular migrations and why you (probably) should not do that
Every once in a while I read Lucian Ghinda’s Short Ruby newsletter and I see a “take” there…
Introduction to Rails API: How to Create Your First Endpoint in Less Than a Minute?
Overview This is the first article in the Clean Rails API series. In this piece, we will provide…
Setting up Bcrypt in your Rails project
If you’re here you probably already know that storing passwords in plain text is a bad idea. Here…
Implementing Devise in Your Ruby on Rails Application For Authentication
INTRODUCTION Devise is an effective authentication gem for Ruby on Rails that makes it easier to integrate user…
Building with Rails: The Complete Road Map
Ruby on Rails is a popular and versatile web development framework known for its simplicity and efficiency. Whether…
Say Goodbye to Messy Constants: A New Approach to Moving Constants Away from Your Model!
Overview: In this article, we will discuss the usage of constants in a Rails application. We’ll take a…