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("
|
||||
SELECT *
|
||||
FROM bikes
|
||||
LEFT JOIN(
|
||||
INNER JOIN(
|
||||
SELECT *
|
||||
FROM transactions
|
||||
WHERE customer_id = #{self.id}
|
||||
|
Loading…
x
Reference in New Issue
Block a user