O'Reilly logo

Rails Plugins: Extending Rails Beyond the Core by James Adam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required