DarthMax/Motrackt — pull request #1 by presidentbeef (2013-11-09 04:44:25+00:00)
Title: Convert params[:vehicle_id] to integer for safety

Hi!

Passing parameters directly to `exists?` is dangerous, as explained here: http://rails-sqli.org/#exists