Sha256: 08270a2fa4d07789d67ba44a4446b7cace6d265f1d1baf72a9a22dca01faf804

Contents?: true

Size: 455 Bytes

Versions: 1

Compression:

Stored size: 455 Bytes

Contents

module PixelforceKit
  class Engine < ::Rails::Engine
    isolate_namespace PixelforceKit

    initializer :append_migrations do |app|
      unless app.root.to_s.match root.to_s
        config.paths["db/migrate"].expanded.each do |expanded_path|
          ActiveRecord::Migrator.migrations_paths << expanded_path
        end
      end
    end
    
    initializer :initializer_ahoy do      
      require_relative 'initializer/ahoy'
    end    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pixelforce_kit-0.9 lib/pixelforce_kit/engine.rb