I'm trying to find all Users with an id greater than 200, but I'm having some trouble with the specific syntax.
User.where(:id > 200)
and
User.where("? > 200", :id)
have both failed.
Any suggestions?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…