Rails Active Record Query 中使用 group 如何 得到分组后的 last row?

small_fish__ · May 02, 2013 · 1810 hits

目前根据 group 出来,得到的是个 array,array 里面放着是每个 group 的 first row,so,Active Record Query 中如何使用 group 得到分组后的 last row?谢谢~~

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.