diff --git a/app/models/vehicle.rb b/app/models/vehicle.rb index b51a9d8..0e5d771 100644 --- a/app/models/vehicle.rb +++ b/app/models/vehicle.rb @@ -49,7 +49,9 @@ class Vehicle < ActiveRecord::Base # returns the drive of the vehicle i.e. 2 wheel, 4 wheel, ect. def drive - return @details.drive_type if @details + #todo fix this + #return @details.drive_type if @details + return nil end # returns the number of doors of the vehicle