Sha256: 782ec5422d8b11c585eb3600177dd1387436ba2d462879e100da965ded131671
Contents?: true
Size: 525 Bytes
Versions: 10
Compression:
Stored size: 525 Bytes
Contents
module ConfigManager class Engine < ::Rails::Engine isolate_namespace ConfigManager initializer :append_migrations do |app| unless app.root.to_s.match(root.to_s) && false config.paths["db/migrate"].expanded.each do |expanded_path| app.config.paths["db/migrate"] << expanded_path end end end config.autoload_paths += Dir["#{config.root}/lib/**/"] config.generators do |g| g.test_framework :rspec g.fixture_replacement :factory_girl, :dir => 'spec/factories' end end end
Version data entries
10 entries across 10 versions & 1 rubygems