用一堆Gem来架起你的Rails3机枪
何 李石 2011-05-14 22:43
Good coders code, great reuse.
在Hack News上看到一篇文章:Rails 3: Fully Loaded,里面介绍了很多Rails 3 Gems,遂将其拷贝过来,“以此存档”。
Authentication
- OmniAuth (https://github.com/intridea/omniauth)
- Devise (https://github.com/plataformatec/devise)
Access Control
- CanCan (https://github.com/ryanb/cancan)
- declarative_authorization (https://github.com/stffn/declarative_authorization)
Views/Page and Admin Scaffold
- compass (https://github.com/chriseppstein/compass)
- haml (https://github.com/nex3/haml)
- sanitize (https://github.com/rgrove/sanitize)
- rails_admin (https://github.com/sferik/rails_admin)
- web-app-theme (https://github.com/andreferraro/web-app-theme)
Quick SNS
- acts-as-taggable-on (https://github.com/mbleigh/acts-as-taggable-on)
- has_friends-rails3 (https://github.com/rrouse/has_friends)
- acts_as_favable (https://github.com/yorzi/acts_as_favable)
- thumbs_up (https://github.com/brady8/thumbs_up)
- acts_as_commentable (https://github.com/jackdempsey/acts_as_commentable)
- profanity_filter (https://github.com/intridea/profanity_filter)
Form and Related Tools
- simple_form (https://github.com/plataformatec/simple_form)
- formtastic (https://github.com/justinfrench/formtastic)
- formtasticdatepickerinputs (https://github.com/demersus/formtastic_datepicker_inputs)
- tiny_mce (https://github.com/kete/tiny_mce)
- paperclip (https://github.com/thoughtbot/paperclip)
- carrierwave (https://github.com/jnicklas/carrierwave)
Search Solutions
- meta_seach (https://github.com/ernie/meta_search)
- meta_where (https://github.com/ernie/meta_where)
- thinking-sphinx (https://github.com/freelancing-god/thinking-sphinx)
- acts_at_indexed (https://github.com/dougal/acts_as_indexed)
- sunspot (https://github.com/outoftime/sunspot)
Pagination
- kaminari (https://github.com/amatsuda/kaminari)
- kaminari_themes (https://github.com/amatsuda/kaminari_themes)
Background Work
- delayed_job (https://github.com/collectiveidea/delayed_job)
- resque (https://github.com/defunkt/resque)
Status Machine
- workflow (https://github.com/geekq/workflow)
- state_machine (https://github.com/pluginaweek/state_machine)
Rack API framework
Memcached Client
- memcache-client (https://github.com/mperham/memcache-client)
- dalli (https://github.com/mperham/dalli)
Deployment and Monitoring
- capistrano (https://github.com/capistrano/capistrano)
- cap-recipes (https://github.com/nesquena/cap-recipes)
- god (https://github.com/mojombo/god)
Cron job and Backup as a Pro
- whenever (https://github.com/javan/whenever)
- backup (https://github.com/meskyanichi/backup)
Testing Gracefully
- rspec-rails (https://github.com/dchelimsky/rspec-rails)
- factorygirlrails (https://github.com/thoughtbot/factory_girl_rails)
- faker (https://github.com/yyyc514/faker)
- watchr (https://github.com/mynyml/watchr)
- autowatchr (https://github.com/viking/autowatchr)
- database_cleaner (https://github.com/bmabey/database_cleaner)
- mail_safe (https://github.com/myronmarston/mail_safe)
Toolkit
- ruby-debug (https://github.com/mark-moseley/ruby-debug)
- hirb (https://github.com/cldwalker/hirb)
- cheat (https://github.com/defunkt/cheat)
- rails-settings-cached (https://github.com/huacnlee/rails-settings-cached)
真多啊!这里只是提供链接,原文有更多的介绍。此外,原文是在作者在公司内部分享的PPT的基础上写成的,PPT在这里,也很值得看。