Rails
Advanced Ruby on Rails development strategies, best practices, and solutions for building scalable web applications.

Rails Posts
How to Create Custom Generators in Rails
Rails generators are extensible by design, but most teams never build their own. This post walks through creating two custom generators from scratch, covering templates, argument parsing, flag options, and editing existing files.
Namespaced Models in Rails: A Concern-Based Approach
Every namespaced association in Rails requires you to manually specify class_name, foreign_key, and inverse_of. The Namespaceable concern figures out those values from the namespace structure automatically. This post walks through the problem and provides the full, ready-to-use code.
TWIL 2022-09-23
Dive into this week’s TWIL and uncover the secrets of RSpec matchers in Ruby and Rails, as Katie guides us through enhancing our testing practices for better precision and resilience.
TWIL 2022-06-24
Explore this week’s TWIL feature: Rails Routing: Shallow Nested Resources. Katie breaks down how to make your Ruby and Rails coding more efficient.
TWIL 2021-01-29
Dive into this week’s TWIL where Katie uncovers a quick Ruby on Rails tip—fetching random records with elegance. Elevate your coding with a versatile method.
TWIL 2020-09-11
This week’s TWIL features Katie’s guide to using new range syntax in ActiveRecord queries, revealing how to efficiently search databases in Ruby on Rails.
TWIL 2020-07-24
This week’s TWIL offers a quick boost in understanding unique value generation with Faker and the efficient use of FactoryBot for Rails testing.
Other Categories
Tell us about your project and how Cuttlesoft can help. Schedule a consultation with one of our experts today.
Contact Us





