阅读背景:

在Rails API中使用render而不是respond_with / to有什么区别?

来源:互联网 

I am building a simple rails tutorial on how to build APIs for some students and I am building it without the respond_to and respond_with because I just want to see if I can build an api without using a gem. This is what I have and my tests pass:I am building a simple rails tutorial on how to




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

分享到: