module ContentManager
  class Engine < ::Rails::Engine
    isolate_namespace ContentManager
    require 'jquery-rails'

    # 'leave migrations in the engine' https://blog.pivotal.io/pivotal-labs/labs/leave-your-migrations-in-your-rails-engines
    initializer :append_migrations do |app|
      unless app.root.to_s.match root.to_s
        config.paths["db/migrate"].expanded.each do |expanded_path|
          app.config.paths["db/migrate"] << expanded_path
        end
      end
    end
  end
end

module ContentManager
  class Engine < ::Rails::Engine
    isolate_namespace ContentManager
    require 'jquery-rails'
  end
end

Stop keeping the migration in the enging because
Stop keeping the migration in the enging because

It's a terrible idea for gemified engines
