Rails:我最喜欢的Rails插件

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Rails:我最喜欢的Rails插件相关的知识,希望对你有一定的参考价值。

Here are a few examples of how to install my favorite rails plug-ins from GIT. The alternative solution is to simply use gem --and have the plugin available throughout all of my rails applications-- but I prefer to have my applications living as self-contained units.
  1. ###############################
  2. #Step 1
  3. ###############################
  4. #Change directory (cd) into rails_app/vendor/plugins/
  5. bash$ cd rails_app/vendor/plugins
  6.  
  7. ###############################
  8. #Step 2: Install plugins from GIT
  9. ###############################
  10. ##################
  11. #Facebooker
  12. ##################
  13. #Install Facebooker (http://madebymany.co.uk/tutorial-for-restful_authentication-on-rails-with-facebook-connect-in-15-minutes-00523)
  14. git clone git://github.com/mmangino/facebooker.git facebooker
  15.  
  16. ##################
  17. #authentication_plugin
  18. ##################
  19. #Handy for creating user log-ins (http://railscasts.com/episodes/67-restful-authentication)
  20. git clone git://github.com/technoweenie/restful-authentication.git restful_authentication
  21.  
  22. ##################
  23. #will_paginate
  24. ##################
  25. #Instrumental for paginating search results (http://railscasts.com/episodes/51-will-paginate)
  26. git clone git://github.com/mislav/will_paginate.git
  27.  
  28. ##################
  29. #RSpec-Rails
  30. ##################
  31. #A life saver when it comes to testing (http://railscasts.com/episodes/157-rspec-matchers-macros)
  32. git clone git://github.com/dchelimsky/rspec-rails.git
  33.  
  34. ##################
  35. #Acts as Ferret
  36. ##################
  37. #acts_as_ferret makes it simple to implement full text search for Rails and is modeled after Lucene
  38. #Step 2
  39. git clone git://github.com/jkraemer/acts_as_ferret.git
  40. #Step 3
  41. Include "require 'acts_as_ferret'" in /rails_app/config/environment.rb

以上是关于Rails:我最喜欢的Rails插件的主要内容,如果未能解决你的问题,请参考以下文章

在 Rails 3 中,我使用的是 jQuery Tokenize 插件,但表单提交的是值,而不是 id

Rails 库目录

为 memcached 和 Rails 组合片段和对象缓存的最佳方式

Rails 通知消息插件?

如何在 Rails 中清理 sql 片段

ruby RubySteps 012 - Rails - 迷你框架片段