Abstractions in Rails
Rails abstractions (Active Record, Active Job, Action Mailer, Active Storage, etc.) make it easy for developers to integrate with 3rd party service vendors without concerning about service-specific APIs.
Rails abstractions (Active Record, Active Job, Action Mailer, Active Storage, etc.) make it easy for developers to integrate with 3rd party service vendors without concerning about service-specific APIs.
A comparison between scope and namespace in Rails nested routes, and which one to pick.
Double-ended polymorphic has_many: :through association in Ruby on Rails.
Rails Concern can be helpful to DRY code under certain circumstances. Here is also an example of wrapping polymorphic has_many through association.
Using shared_examples and shared_context to DRY and better organize RSpec tests, so that we can keep high test coverage without needing to write repetitive tests.