ruby find :include 用法
1个回答
--我对 Rails 不是太清楚;但你可以试试:
to_json(:include =>{:employee=>{:include =>[:department,:duty]}})
相关问题
included including的用法
included,include,including的区别和用法。
include including 之间的用法
including 、included的区别与用法
find用法
find的主要用法
look for,find,find out 的区别和用法
RuBy什么意思?
include和including的区别,若没有逗号,还用including吗
THE RUBY WAY怎么样