创建一个连接的RestS3Service实例很简单,如清单1所示。
Creating a connected RestS3Service instance is simple, as shown in Listing 1.
这一机制背后的原理其实很简单:Rails首先通过反射将控制器中的变量拷贝到一个容器中,其后又将该容器中的变量拷贝回视图实例。
The magic is actually quite simple: Rails uses reflection to copy controller variables into a collection, which is then copied back into the view instance.
另一个可用的Web Service Performance报告在此环境中没有多大意义,因为这些测试实例很简单,并且这些测试只基于一个用户。
The other Web Service Performance reports available won't really make much sense in this context, given the simplicity of these test examples and given that these tests are based on only one user.
应用推荐