Sha256: 2efeb94746c9e76e81b32d01831c084d5e68f5ffcd8368865b1630b562dfc468

Contents?: true

Size: 148 Bytes

Versions: 21

Compression:

Stored size: 148 Bytes

Contents

class Vehicle < ActiveRecord::Base
  self.abstract_class = true
  default_scope -> { where("tires_count IS NOT NULL") }
end

class Bus < Vehicle
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ibm_db-5.5.0 test/models/vehicle.rb
ibm_db-5.4.1 test/models/vehicle.rb
ibm_db-5.4.0 test/models/vehicle.rb
ibm_db-5.3.2 test/models/vehicle.rb
ibm_db-5.3.1 test/models/vehicle.rb
ibm_db-5.2.0 test/models/vehicle.rb
ibm_db-5.1.0 test/models/vehicle.rb
ibm_db-5.0.5 test/models/vehicle.rb
ibm_db-5.0.4 test/models/vehicle.rb
ibm_db-5.0.3 test/models/vehicle.rb
ibm_db-5.0.2 test/models/vehicle.rb
ibm_db-4.0.0-x86-mingw32 test/models/vehicle.rb
ibm_db-4.0.0 test/models/vehicle.rb
ibm_db-3.0.4-x86-mingw32 test/models/vehicle.rb
ibm_db-3.0.4 test/models/vehicle.rb
ibm_db-3.0.3-x86-mingw32 test/models/vehicle.rb
ibm_db-3.0.3 test/models/vehicle.rb
ibm_db-3.0.2-x86-mingw32 test/models/vehicle.rb
ibm_db-3.0.2 test/models/vehicle.rb
ibm_db-3.0.1 test/models/vehicle.rb