阅读背景:

(Rails,ActiveRecord)如何在仍检索字段名称的同时使用ActiveRecord计算?

来源:互联网 

Is there any way to use ActiveRecord calculations while also acquiring relevant field names? For example, I'd like to find the average age of all people with the various last names. Basically I'd like to use: Is there any way to use ActiveRecord calculatio




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: