Rails的插件很豐富,並且大部分都放在github,非常方便修改
這裡簡單介紹我使用過的Rails插件
這裡簡單介紹我使用過的Rails插件
實體相關
restful_authentication
mislav-will_paginate
annotate_models
paperclip
視圖相關
haml
sass
bundle-fu
jrails
calendar_date_select
fckeditor
super_inplace_controls
open-flash-chart2
swf_fu
生成swfobject js,用於顯示flash
prawn
生成PDF,報表
中文字體最好自己下載仿宋,google simfang.ttf
中文字體最好自己下載仿宋,google simfang.ttf
Prawn::Document.generate("bug.pdf") do #這一句配置才能支持中文換行,但仍不完善text_options.update(:wrap => :character, :size => 16) end
sitemap_generator
[必備] 生成網站的sitemap
#生成sitemap文件rake sitemap:refresh:no_ping
測試相關
rspec
cucumber
selenium-on-rails
factory_girl
faker
populator
結合faker,構造大數量的測試數據,用於性能測試
#填充測試數據rake db:populate
blue-ridge
js tdd測試,挺好用的
由於使用了rhino(a Java-based JavaScript interpreter),所以你需要安裝sun-java6-jre
由於使用了rhino(a Java-based JavaScript interpreter),所以你需要安裝sun-java6-jre
定時相關
javan-whenever
部署相關
capistrano
[必備] 遠程部署
#查看所有可運行的部署任務cap -T [search] #部署cap deploy #運行數據庫migrate cap deploy:migrate #直接運行以上兩步cap deploy:migrations
deprec
其他相關
exception_logger
handsoap
webservice客戶端詳細說明
from : http://wenbin151.iteye.com/blog/599391
沒有留言:
張貼留言