Chapter 3. Saluton, Mondo! (init.rb
)
In this section, you’ll start developing plugins, getting acquainted with the facilities that Rails provides for extending and overriding its behavior. From this point forward, we will be dealing with the implementation of new and novel features and occasionally using sophisticated techniques. If your Ruby needs a bit of polishing, doing so now will greatly help you understand the implementations and techniques in the following sections.
Ready? Good—let’s start writing plugins.
The Plugin Generator
While it is certainly possible to create a plugin from scratch by hand, often the easiest way to start is with the built-in plugin generator. Create a fresh Rails application ...
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.