- To reuse the code/functionality so that developer can avoid to built any feature from scratch.
- To separate source code from existing code.
- To reduce the size of application.
- To give other developer to create capabilities to extend application.
The installation process of plugins are very easy. By following command you can install your plugins in your application from command prompt easily:
<your project path> ruby script/plugin install protocol://host.com/path/to/plugin/repository
There are lots of plugins for Ruby on Rails which you can use easily. Following is the link where you will get lots of plug-ins link.
You can write a plugins and publish too. Following are the link by where you can you can learn how to write a plugins: