fromRubyflow
28 minutes agoRuby on Rails
The tool I wish I had 25 apps ago
A tool allows shipping Rails apps to the App Store without using Xcode.
The core idea is three separate attribute layers: inputs (what comes in), internals (working state), and outputs (what goes out). Each is a distinct declaration with its own namespace and type checking. Combined with declarative make calls that define action order, the data flow through a service is visible at a glance: class Payments::Process < ApplicationService::Base input :payment, type: Payment internal :charge_result, type: Servactory::Result output :payment, type: Payment make :validate_status! make :perform_request! make :handle_response! make :assign_payment
I'm thrilled to announce a significant update to the Kickstart Rails app template, now featuring robust support for inertia_rails. This allows you to effortlessly bootstrap Rails applications adhering to best practices using a comprehensive set of six templates: API, ESBuild, ImportMaps, and three Inertia-based templates: React, Svelte, and Vue.
Whether we're building a blog, a CMS, a documentation site, or any other Rails app that accepts user-generated markdown, adding syntax highlighting to code blocks is an essential feature.In this article, we will learn how to add syntax highlighting to Rails applications by showing different ways to do it and a couple of nice tricks to improve the user experience.
Beskar is a Rails engine that fills that gap with layered protection: WAF that detects vulnerability scanning patterns (WordPress, config files, path traversal) Impossible travel detection using geolocation and Haversine calculations Smart rate limiting that identifies attack patterns (brute force, credential stuffing, distributed attacks) Risk-based account locking with automatic responses Persistent IP banning with escalating durations Installation is deliberately simple - drop it in your Gemfile, run the installer, add one line to your User model. Runs in monitor-only mode by default so you can tune thresholds before blocking real traffic.
ActsAsActive is a plug-and-play Rails extension designed to add comprehensive activity tracking to any model. It facilitates tracking by wiring a polymorphic association that records Activity rows for specified lifecycle events.