diff options
Diffstat (limited to 'activerecord/test/models/without_table.rb')
-rw-r--r-- | activerecord/test/models/without_table.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/models/without_table.rb b/activerecord/test/models/without_table.rb new file mode 100644 index 0000000000..fc0a52d6ad --- /dev/null +++ b/activerecord/test/models/without_table.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +class WithoutTable < ActiveRecord::Base + default_scope -> { where(published: true) } +end |