Tag Archives: plugin

Controller Plugins in Rails

I want to write a Rails plugin, which adds a controller to a rails app. It seems like it should be easy, plugins are fairly flexible after all. After a couple of experiments, I concluded that you need at least the following defined in your plugin: lib/foo_controller.rb 1 2 3 4 5 class FooController < […]