阅读背景:

如何通过脚本调用ruby控制器中的方法?

来源:互联网 

I am really new to web technologies. In my application, I can see that when I click a button on UI, the javascript calls ruby controller and the controller in turn calls method in another ruby file (maybe a file in model, I am not sure) that does some action. I just want to know how can I bypass clicking on UI button and call the controller method from console through a shell or any other script or by any other way and pass it the required arguments?I am really new to web technologies. In my appl




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

分享到: