Update vehicle.rb

This commit is contained in:
2016-04-27 11:40:56 -04:00
parent 892e57084d
commit bbe1b22020

View File

@@ -50,6 +50,6 @@ class Vehicle < ActiveRecord::Base
return '1000000000A'
end
v = self.vin[0,11]
return vin.slice(0,8) + vin.slice(9,11)
return v.slice(0,8) + v.slice(9,11)
end
end