module ValidationSync class Engine < ::Rails::Engine # isolate_namespace ValidationSync config.generators do |g| g.test_framework :rspec, :fixture => false g.fixture_replacement :factory_girl, :dir => 'spec/factories' g.assets false g.helper false end # Find the root of the rails app that is using validation_sync initializer "validation_sync.load_app_instance_data" do |app| APP_ROOT = app.root end end end