Chetan Mittalblog.railsforgedev.com·Nov 21, 202410 Costly Ruby on Rails Upgrade Mistakes to Avoid in 2025Upgrading a Ruby on Rails (RoR) application is a necessary step for staying competitive, maintaining security, and leveraging the latest features and performance improvements. However, a poorly executed upgrade can result in costly setbacks—often exc...Discuss·406 readsRuby
Chetan Mittalblog.railsforgedev.com·Nov 19, 2024Comprehensive Guide to Implementing Content Security Policies in Ruby on Rails 8Content Security Policy (CSP) is a critical security feature for modern web applications. It mitigates vulnerabilities such as Cross-Site Scripting (XSS) and data injection attacks by controlling which resources a web page can load or execute. With c...Discuss·359 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 ...Discuss·148 readsRuby
phanil kumarphanilkumar.com·Nov 13, 2024Action Mailbox SetupAction Mailbox has a few moving parts. First, run the installer. Next, choose and configure an ingress for handling incoming email. Then ready to add Action Mailbox routing, create mailboxes, and start processing incoming emails. To start, let's inst...DiscussActionMailboxRuby on Rails
phanil kumarphanilkumar.com·Nov 8, 2024Ingress ConfigurationConfiguring ingress involves1. Setting up credentials2. Endpoint information for the chosen email service. Some supported ingresses are: Exim Mailgun Mandrill Postfix Postmark Qmail Mandrill Ingress setup: Use rails credentials:edit to add yo...DiscussActionMailboxRuby
BestWeb VenturesforBestWeb Ventures's Blogblog.bestwebventures.in·Nov 5, 2024Rails View Patterns: Helpers vs Partials vs Presenters vs DecoratorsAs Ruby on Rails applications grow in complexity, maintaining clean and organized views becomes increasingly challenging. Rails provides several patterns to help manage this complexity: Helpers, Partials, Presenters, and Decorators. Each serves a spe...Discuss·1 like·206 readspresenters
phanil kumarphanilkumar.com·Nov 3, 2024What is Action Mailbox?Action Mailbox Action Mailbox routes incoming emails to controller-like mailboxes for processing in your Rails application. Action Mailbox is for receiving email, while Action Mailer is for sending them. The inbound emails are routed asynchronously...DiscussActionMailboxRuby on Rails
Lê Văn Hoànghoangle.hashnode.dev·Oct 31, 2024Hướng dẫn tự tạo gem và public lên rubygemsXây dựng Ruby Gem Trước tiên để bắt đầu tạo Gem, bạn cần sử dụng Gem Bundler $ gem install bundler Cấu trúc thư mục của Gem Để tạo ra một Gem, ta sử dụng command dưới đây, helpers_view là tên của Gem, bạn có thể sử dụng một cái tên bất kỳ cho nó. bu...DiscussRails
Redha Bayu Anggararedhabayuanggara.hashnode.dev·Oct 26, 2024Building a RESTful API with RailsEvery time I create a new Rails API with a PostgreSQL database, I find myself googling “create a new Rails API with a PostgreSQL database”. So I’m leaving these notes here for myself, and anyone else who finds this helpful. For the purpose of this tu...DiscussStack Traveller 2024Ruby
Gaetano Osurgaetano-osur.hashnode.dev·Sep 8, 2024Views in RailsI am learning how to develop web applications using Ruby on Rails from the The Odin Project - Full Stack Ruby on Rails path. Rails leverages the MVC pattern to build web applications. This week, I have been learning about how 'Views' work in rails. I...DiscussRails