mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Bug in User#completed_build_bikes query. inner
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ class User < ActiveRecord::Base
|
|||||||
Bike.find_by_sql("
|
Bike.find_by_sql("
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM bikes
|
FROM bikes
|
||||||
LEFT JOIN(
|
INNER JOIN(
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM transactions
|
FROM transactions
|
||||||
WHERE customer_id = #{self.id}
|
WHERE customer_id = #{self.id}
|
||||||
|
|||||||
Reference in New Issue
Block a user