Rails plugins can help you do all sorts of things. Installing them is a lot simpler than you might think, deploying them is easy, and they’re a neat way of packaging and reusing your own code.
Nuby on Rails has posted part one of their Complete Guide to Rails Plugins. Definitely worth checking out if you’re not familiar with the Rails plugin architecture.
Stay tuned for the build your own plugins walk through.