aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/without_table.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/without_table.rb')
-rw-r--r--activerecord/test/models/without_table.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/test/models/without_table.rb b/activerecord/test/models/without_table.rb
index 50c824e4ac..fc0a52d6ad 100644
--- a/activerecord/test/models/without_table.rb
+++ b/activerecord/test/models/without_table.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class WithoutTable < ActiveRecord::Base
- default_scope -> { where(:published => true) }
+ default_scope -> { where(published: true) }
end