Posted By

chrisaiv on 07/19/10


Tagged

rails plugins


Versions (?)

Rails: My Favorite Rails Plug-ins


 / Published in: 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

Report this snippet  

You need to login to post a comment.