Convert params[:vehicle_id] to integer for safety

Hi!

Passing parameters directly to `exists?` is dangerous, as explained here: http://rails-sqli.org/#exists
Merge pull request #1 from presidentbeef/patch-1

Convert params[:vehicle_id] to integer for safety