Gem for handling common parsing problems of vehicles. Things like determining the number of cylinders from an engine, the transmission type, drive train type, etc.
Add this to your Gemfile:
gem 'vehicle-parser', github: 'RevoHoffman/vehicle-parser'
and then run bundle update
See specs.