Rails Engines are an architectural pattern that can be used to modularize a Rails application. They are self-contained applications that can be mounted within a larger Rails application. In this post, we will dive into the world of Rails Engines and explore what they are, how to create them, how to use them, when to use them, and why they are important.
Read moreArticles on Rails
You might have extended classes or instances in Rails, but do you know you can also extend Rails associations?
Read moreclass Account < ActiveRecord::Base has_many :people, -> { extending FindOrCreateByNameExtension } end
In this article I’ll discuss a strategy for different readability: a simple way to split your routes file on a Ruby on Rails project.
Read moreLet’s begin with a simple question:
Have you seen
config.load_defaults 6
in any application?
6 is an argument and could vary, I’m just giving an example.
Read more