rails--rails/activerecord/test/models/without_table.rb

6 lines
121 B
Ruby

# frozen_string_literal: true
class WithoutTable < ActiveRecord::Base
default_scope -> { where(published: true) }
end