require "rails/generators" module ActiveObject class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) def copy_initializer_file copy_file("install.rb", "config/initializers/active_object.rb") end end end