4 lines
102 B
Ruby
4 lines
102 B
Ruby
class Vehicle < ApplicationRecord
|
|
enum vehicle_type: { car: 0, truck: 1, motorcycle: 2, van: 3}
|
|
end
|