Sha256: c8caa685f9a8d81fc9884c4bf2104a0ca678511a71ac137b36a5f0b8e4633501

Contents?: true

Size: 154 Bytes

Versions: 12

Compression:

Stored size: 154 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

12 entries across 12 versions & 1 rubygems

Version Path
ibm_db-5.5.0-x86-mingw32 test/models/vehicle.rb
ibm_db-5.4.1-x86-mingw32 test/models/vehicle.rb
ibm_db-5.4.0-x86-mingw32 test/models/vehicle.rb
ibm_db-5.3.2-x86-mingw32 test/models/vehicle.rb
ibm_db-5.2.0-x86-mingw32 test/models/vehicle.rb
ibm_db-5.1.0-x86-mingw32 test/models/vehicle.rb
ibm_db-5.0.5-x86-mingw32 test/models/vehicle.rb
ibm_db-5.0.4-x86-mingw32 test/models/vehicle.rb
ibm_db-5.0.3-x86-mingw32 test/models/vehicle.rb
ibm_db-5.0.2-x86-mingw32 test/models/vehicle.rb
ibm_db-3.0.5-x86-mingw32 test/models/vehicle.rb
ibm_db-3.0.5 test/models/vehicle.rb