Update Gemfile.lock
Clean up validation code in the Ticket model and simplify usage of Rails syntax