Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 462 Bytes
class Bootstrapper
class Railtie < Rails::Railtie
config.bootstrapper = ActiveSupport::OrderedOptions.new
# configure our plugin on boot. other extension points such
# as configuration, rake tasks, etc, are also available
initializer "bootstrapper.initialize" do |app|
end
ActiveSupport.on_load :active_record do
require 'bootstrapper/bootstrapper'
end
rake_tasks do
load "tasks/bootstrap.rake"
end
end
end