module Boilerman

Constants

VERSION

Public Class Methods

controllers() click to toggle source
# File lib/boilerman.rb, line 6
def self.controllers
  ActionController::Metal.descendants.reject do |controller|
    controller.parent == Boilerman || !controller.respond_to?(:_process_action_callbacks)
  end
end
eager_load_rails_paths() click to toggle source
# File lib/boilerman.rb, line 12
def self.eager_load_rails_paths
    Rails.configuration.eager_load_paths.each do |path|
      Dir[path + "/*.rb"].each do |file|
        require file
      end
    end
end