阅读背景:

Rails使用模型根呈现JSON数据

来源:互联网 

I've got some data in Rails that I want to render as JSON data. What I'm doing right now is simply finding all instances of a Model and calling render :json=>data.I've got some data in Rails that I want to rend




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

分享到: