Code Explainers
class Article < ApplicationRecord belongs_to :author default_scope { where(deleted_at: nil) }