RL ROLAND LOPEZ
Back to content

All RAILS

    Ruby on Rails Cloudflare Turnstile Tutorial
    Stop bot signups in Rails with Cloudflare Turnstile. Step-by-step setup with Devise, Stimulus, Turbo, and a verifier model - keep your email authority clean.
    Creating Your First Rails Engine
    Build a mountable Rails engine and ship a real gem to rubygems.org. Step-by-step walkthrough using a literal_enum example, with concerns, dummy app, and tests.
    Design Patterns in Rails
    When and how to use Singleton, Factory, and other design patterns in Rails. Concrete examples, anti-patterns to avoid, and a rule of thumb for overuse.
    Ruby on Rails Object-Oriented Design
    Rails' conventions guide you toward design patterns, but real maintainability comes from applying SRP, delegation, and SQL-first thinking from day one.
    Models for Performance in Rails
    Most performance issues come from over-normalized models. Learn how scopes, denormalization, and JSON columns simplify queries and remove painful joins.
    Rails ORM Performance tips
    ActiveRecord makes it easy to ship slow code. Leverage SQL for sorting, filtering, and aggregation - and fix N+1 queries with includes - to keep Rails apps fast.
    Rails Migration Best tips
    Three rules that save you from broken deploys: never modify a committed up method, never call models from migrations, and always provide a reversible down.
    Testing Gems and Plugins
    Four ways to test Rails gems and plugins - pure Ruby, partial Rails, embedded apps - and why 90% of Rails devs have never shipped one.
    Managing Gems in Your Rails Application
    Screen gems with the TAM method, modify safely via monkey patches or forks, and keep your Gemfile lean - the rules pros use to keep Rails apps healthy.
    Refactoring Models in Rails
    Reduce complexity in Rails models with method delegation, extraction into service classes, and composed_of - keeping ActiveRecord lean and SRP-aligned.
Built by Agent Skynet See the agency