标签: ruby-on-rails ruby mongoid
我用她来连接我的API,但我想做一个:
Vehicle.all.pluck :brand
其中pluck是一种Mongoid查询方法。 我如何与她实现这一目标?