Sha256: 9718b68a71a659456004031b765a8f3670b4c9e3607a315d7bdcd23f6fedc5b7
Contents?: true
Size: 708 Bytes
Versions: 25
Compression:
Stored size: 708 Bytes
Contents
module Unidom module Common class Engine < ::Rails::Engine config.autoload_paths += %W( #{config.root}/lib #{config.root}/app/models/unidom/common/concerns ) config.eager_load_paths += %W( #{config.root}/lib #{config.root}/app/models/unidom/common/concerns ) isolate_namespace ::Unidom::Common initializer :append_migrations do |app| #app.config.paths['db/migrate'] += config.paths['db/migrate'].expanded unless app.root.to_s==root.to_s config.paths['db/migrate'].expanded.each { |expanded_path| app.config.paths['db/migrate'] << expanded_path } unless app.root.to_s.match root.to_s end end end end
Version data entries
25 entries across 25 versions & 1 rubygems