阅读背景:

如何在Rails 3中将哈希渲染为JSON

来源:互联网 

I found how to render ActiveRecord objects in Rails 3, however I cannot figure out how to render any custom objects. I am writing an app without ActiveRecord. I tried doing something like this:I found how to render ActiveRecord objects in R




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

分享到: