mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-02-28 16:53:23 -05:00
Bug in User#completed_build_bikes query. inner
This commit is contained in:
parent
0f89cf057a
commit
cd41735cee
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user