aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/vehicle.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/vehicle.rb')
-rw-r--r--activerecord/test/models/vehicle.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/test/models/vehicle.rb b/activerecord/test/models/vehicle.rb
index ef26170f1f..c9b3338522 100644
--- a/activerecord/test/models/vehicle.rb
+++ b/activerecord/test/models/vehicle.rb
@@ -1,7 +1,9 @@
+# frozen_string_literal: true
+
class Vehicle < ActiveRecord::Base
self.abstract_class = true
default_scope -> { where("tires_count IS NOT NULL") }
end
class Bus < Vehicle
-end \ No newline at end of file
+end