Browsing Tag
rails
31 posts
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…
Advanced Techniques for Working with Ruby Collections 🎯
Working with collections, such as arrays and hashes, is a fundamental part of programming in Ruby. While basic…
Auto-magically generate sequence diagrams of your code’s runtime behavior
Sequence diagrams are frequently described as “the best part of UML”. Their inherent structure – objects flowing across…