added transactions methods to customer.rb