@ -50,9 +50,9 @@ class User < ActiveRecord::Base
#default BUILDBIKE/CLASS ID is 5
purpose_id = 5
Bike.find_by_sql("
SELECT *
FROM bikes
INNER JOIN(
FROM transactions
WHERE customer_id = #{self.id}