Rails plugin template

Tagged plugin, rails, template  Languages ruby
script/plugin generate PluginTemplate
module PluginTemplate
  def self.included(base)
    base.class_eval do
      include InstanceMethods
      extend ClassMethods

      alias_method_chain :rescue_action_in_public, :gulag
      alias_method_chain :rescue_action_locally, :gulag
    end
  end

  module ClassMethods
  end

  module InstanceMethods
  end
end

init.rb:

ActionController.send :include, PluginTemplate