很简单的一个。
我想做以下
Model.where("money_rate > ?", some_other_money_item)
有任何想法吗?
PG::UndefinedColumn: ERROR: column "money_rate" does not exist
LINE 1: SELECT "jobs".* FROM "jobs" WHERE (money_rate > '--- !ruby/...etc
很简单的一个。
我想做以下
Model.where("money_rate > ?", some_other_money_item)
有任何想法吗?
PG::UndefinedColumn: ERROR: column "money_rate" does not exist
LINE 1: SELECT "jobs".* FROM "jobs" WHERE (money_rate > '--- !ruby/...etc