aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/models/vehicle.rb
blob: c9b333852272fc6f0d087260850815f14f5aa3b5 (plain) (tree)
1
2
3
4
5
6
7
8
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