Chapter 6. Plugin Development

You now know the basic ingredients that make up a plugin, so it’s time to consider some of the more advanced ways to share functionality between Rails applications. This section discusses a number of common idioms and programming techniques that can help you write plugins.

It is worth noting (again) at the outset that the following techniques take advantage of some of the rich language features that Ruby provides. While you are going to learn the basic principles behind each technique, an in-depth understanding would require a book in its own right. Again, ...

Get Rails Plugins: Extending Rails Beyond the Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.