Browsing Tag
rails
49 posts
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…
Using Action Cable with React and Rails.
Intro Earlier this week I wanted to use Action Cable for its nice two way connections. I ended…
All the ways to render an ActionText Attachment
There’s so many ways to render an ActionText attachment, we can change the app/views/active_storage/blobs/_blob.html.erb in a previous post.…