Refactor tickets

It already return you first found record

http://api.rubyonrails.org/classes/ActiveRecord/FinderMethods.html#method-i-find_by