Code cleanup in customer model (customer.rb)