Chetan Mittalblog.railsforgedev.com·Nov 26, 2024Rails 8 Upgrade Guide 2025: Step-by-Step Instructions for a Smooth TransitionUpgrading your Ruby on Rails application is essential for maintaining a secure, performant, and modern codebase. With Rails 8 released in November 2024, developers are presented with opportunities to leverage new features, streamline their apps, and ...243 readsruby on rails upgrade
Chetan Mittalblog.railsforgedev.com·Nov 19, 2024Ruby on Rails Security Audit Checklist 2025: 23 Proven Steps to Secure Your App [Free Template]Ensuring the security of web applications is paramount in today’s digital landscape. Ruby on Rails (RoR), known for its developer-friendly nature and robust features, powers thousands of applications globally. However, like any framework, it is susce...377 readsRuby
Chetan Mittalblog.railsforgedev.com·Nov 14, 2024When (and When Not) to Use GraphQL in Your Rails AppIntroduction GraphQL has emerged as a powerful alternative to REST APIs, offering developers more flexibility and efficiency in data fetching. However, like any technology, it's not a one-size-fits-all solution. This article explores when GraphQL is ...179 readsRuby
Hrishi Mittalhrishimittal.hashnode.dev·Jul 25, 2024How to build an image gallery in Rails with StimulusClick here to watch a video version of this tutorial. This lesson is from Full Stack Rails Mastery In this lesson, we’ll create an interactive image gallery for the product page using Stimulus. Here we have all the thumbnails of the product’s image...1 likeRails
Ed SSemuwembablog.edssemuwemba.com·May 31, 2024How to deploy a Rails 7 app to RenderIntroduction Heroku no longer has a free tier. This blog post lists the reasons why.Heroku used to be my go-to service for experimenting with new frameworks. I would generate the starter app, and then deploy it to Heroku.Then I would continue to incr...47 readsRails 7.1
Ahmed Nadarahmednadar.hashnode.dev·May 21, 2024Normalization in Rails 7.1 eraBefore Rails 7.1 Once upon a time, way long before the Rails 7.1 era, a smart Rails developer (like yourself) needed to ensure user email addresses were properly normalized (sanitized and formatted correctly). Back then, they used clever techniques s...Ruby on Rails
Aqiraqirlone.hashnode.dev·Apr 13, 2024Basics of Ruby Programming.Basics of Ruby Programming Variables and Data Types: In Ruby, variables don't have types; instead, objects have types. Variables simply reference objects. Here's an example: ```ruby name = "John" # String age = 25 # Integer salary = 2500.50 # Float i...1 like·130 readsBasic rub
Aqiraqirlone.hashnode.dev·Mar 28, 2024Implementing Background Workers in Rails with SidekiqIn Rails, background workers are typically used to execute tasks asynchronously, outside of the normal request-response cycle. This is useful for time-consuming operations like sending emails, processing large datasets, or interacting with external A...32 readsRails background worker
Rashmi Yadavraysrashmi.com·Oct 9, 2023Rails 7.1 Active Record Transaction on return, break and throwIn the latest Rails, a significant change has been made to the behaviour of transactions. Specifically, using return, break, or throw statements will no longer trigger an automatic rollback of the transaction. In Rails 6.1 use of return, break, and t...233 readsRails 7.1
Rashmi Yadavraysrashmi.com·Aug 16, 2023Rails 7.1 - authenticated_byRails provides has_secure_password class method to store passwords securely. You need to have password_digest attribute in your model to get it working. For example, if you have a user model class User < ApplicationRecord has_secure_password end T...1 like·233 readsRails