Changed getwd to Rails.root; also fixed police-dept value/label method