![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
rails
iteye_18356
这个作者很懒,什么都没留下…
展开
-
rjs peepcode 笔记
peepcode 01.rjs的使用 (1)link_to_remote和link_to_function的区别 link_to_remote为向服务器发出请求,然后生成alert("hello") link_to_function 获得包含这个链接的页面时,就已经生产alert("hello"),不用去服务服务器,会快点. (2)调用helper的方...2009-08-25 22:10:09 · 132 阅读 · 0 评论 -
scallingrails:提高页面的反应能力
scallingRails 提高页面的反应能力 1.如何提高提高页面的反应能力 a.提高服务器的性能 b.减少页面的下载时间 2.在firefox中通过Yslow插件可以知道哪些可以通过responsivess 3.优化方法 (1)减少http请求 如下把三个js合成一个可以减少请求次数(通过:cache=>"main") ...2009-08-25 22:13:58 · 111 阅读 · 0 评论 -
页面测试:selenium
页面测试:selenium 使用 1.下载rails 的selenuim插件(git clone git://github.com/paytonrules/selenium-on-rails.git) 2.安装firefox的selenium IDE插件 3.把selenium IDE录制下来的代码转换为Ruby风格(如waitForTextPresent改为wait_for_tex...2009-09-06 21:27:39 · 110 阅读 · 0 评论 -
apache+passenger 实现rails应用的部署
apache+passenger部署rails应用 (1)安装apache: sudo apt-get install apache2(2)安装passenger $ sudo gem install passenger $ passenger-install-apache2-module 安装到最後时,会出现如下的3条语句: LoadModule passenger_...2009-10-09 17:19:45 · 228 阅读 · 0 评论